2023-11-26 15:11:13

by Masahiro Yamada

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

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 <[email protected]>
---

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


2023-12-05 15:17:25

by Will Deacon

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

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