[PATCH] arm64: replace <asm-generic/export.h> with <linux/export.h>

Masahiro Yamada posted 1 patch 2 years ago
arch/arm64/include/asm/assembler.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm64: replace <asm-generic/export.h> with <linux/export.h>
Posted by Masahiro Yamada 2 years ago
Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
deprecated <asm-generic/export.h>, which is now a wrapper of
<linux/export.h>.

Replace #include <asm-generic/export.h> with #include <linux/export.h>.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/arm64/include/asm/assembler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h
index 376a980f2bad..7b1975bf4b90 100644
--- a/arch/arm64/include/asm/assembler.h
+++ b/arch/arm64/include/asm/assembler.h
@@ -12,7 +12,7 @@
 #ifndef __ASM_ASSEMBLER_H
 #define __ASM_ASSEMBLER_H
 
-#include <asm-generic/export.h>
+#include <linux/export.h>
 
 #include <asm/alternative.h>
 #include <asm/asm-bug.h>
-- 
2.40.1
Re: [PATCH] arm64: replace <asm-generic/export.h> with <linux/export.h>
Posted by Will Deacon 2 years ago
On Mon, 27 Nov 2023 00:10:45 +0900, Masahiro Yamada wrote:
> Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
> deprecated <asm-generic/export.h>, which is now a wrapper of
> <linux/export.h>.
> 
> Replace #include <asm-generic/export.h> with #include <linux/export.h>.
> 
> 
> [...]

Applied to arm64 (for-next/kbuild), thanks!

[1/1] arm64: replace <asm-generic/export.h> with <linux/export.h>
      https://git.kernel.org/arm64/c/8fd7588fd4ee

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev