summaryrefslogtreecommitdiff
path: root/arch/x86/lib/memcpy_64.S
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-08-06 17:59:56 +0300
committerIngo Molnar <mingo@kernel.org>2023-10-03 11:38:07 +0300
commit94ea9c05219518ef7ec90b7ef2cb108476df764b (patch)
treed510217ac6f11ca2a89afaf52ce48fcb89b0fc69 /arch/x86/lib/memcpy_64.S
parentb425232c676b264faa9edb0b6cece4bd08d8ee82 (diff)
downloadlinux-94ea9c05219518ef7ec90b7ef2cb108476df764b.tar.xz
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/memcpy_64.S')
-rw-r--r--arch/x86/lib/memcpy_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/memcpy_64.S b/arch/x86/lib/memcpy_64.S
index 76697df8dfd5..0ae2e1712e2e 100644
--- a/arch/x86/lib/memcpy_64.S
+++ b/arch/x86/lib/memcpy_64.S
@@ -1,12 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright 2002 Andi Kleen */
+#include <linux/export.h>
#include <linux/linkage.h>
#include <linux/cfi_types.h>
#include <asm/errno.h>
#include <asm/cpufeatures.h>
#include <asm/alternative.h>
-#include <asm/export.h>
.section .noinstr.text, "ax"