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

Message ID 20231126151045.1556686-1-masahiroy@kernel.org
State New
Headers
Series arm64: replace <asm-generic/export.h> with <linux/export.h> |

Commit Message

Masahiro Yamada Nov. 26, 2023, 3:10 p.m. UTC
  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(-)
  

Comments

Will Deacon Dec. 5, 2023, 3:16 p.m. UTC | #1
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,
  

Patch

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>