diff options
author | 2023-08-06 23:59:56 +0900 | |
---|---|---|
committer | 2023-10-03 10:38:07 +0200 | |
commit | 94ea9c05219518ef7ec90b7ef2cb108476df764b (patch) | |
tree | d510217ac6f11ca2a89afaf52ce48fcb89b0fc69 /arch/x86/lib/putuser.S | |
parent | x86/headers: Remove unnecessary #include <asm/export.h> (diff) | |
download | linux-94ea9c05219518ef7ec90b7ef2cb108476df764b.tar.gz linux-94ea9c05219518ef7ec90b7ef2cb108476df764b.tar.bz2 linux-94ea9c05219518ef7ec90b7ef2cb108476df764b.zip |
x86/headers: Replace #include <asm/export.h> with #include <linux/export.h>
The following commit:
ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
deprecated <asm/export.h>, which is now a wrapper of <linux/export.h>.
Use <linux/export.h> in *.S as well as in *.c files.
After all the <asm/export.h> lines are replaced, <asm/export.h> and
<asm-generic/export.h> will be removed.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230806145958.380314-2-masahiroy@kernel.org
Diffstat (limited to 'arch/x86/lib/putuser.S')
-rw-r--r-- | arch/x86/lib/putuser.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/lib/putuser.S b/arch/x86/lib/putuser.S index 235bbda6fc82..2877f5934177 100644 --- a/arch/x86/lib/putuser.S +++ b/arch/x86/lib/putuser.S @@ -11,13 +11,12 @@ * return an error value in addition to the "real" * return value. */ +#include <linux/export.h> #include <linux/linkage.h> #include <asm/thread_info.h> #include <asm/errno.h> #include <asm/asm.h> #include <asm/smap.h> -#include <asm/export.h> - /* * __put_user_X |