lkml.org 
[lkml]   [2023]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: x86/headers] x86/headers: Remove unnecessary #include <asm/export.h>
The following commit has been merged into the x86/headers branch of tip:

Commit-ID: b425232c676b264faa9edb0b6cece4bd08d8ee82
Gitweb: https://git.kernel.org/tip/b425232c676b264faa9edb0b6cece4bd08d8ee82
Author: Masahiro Yamada <masahiroy@kernel.org>
AuthorDate: Sun, 06 Aug 2023 23:59:55 +09:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Tue, 03 Oct 2023 10:38:07 +02:00

x86/headers: Remove unnecessary #include <asm/export.h>

There is no EXPORT_SYMBOL() line there, hence #include <asm/export.h>
is unnecessary.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230806145958.380314-1-masahiroy@kernel.org
---
arch/x86/entry/vdso/vsgx.S | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/entry/vdso/vsgx.S b/arch/x86/entry/vdso/vsgx.S
index d77d278..37a3d4c 100644
--- a/arch/x86/entry/vdso/vsgx.S
+++ b/arch/x86/entry/vdso/vsgx.S
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */

#include <linux/linkage.h>
-#include <asm/export.h>
#include <asm/errno.h>
#include <asm/enclu.h>

\
 
 \ /
  Last update: 2023-10-28 11:20    [W:0.052 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site