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

Masahiro Yamada posted 1 patch 2 years ago
arch/xtensa/include/asm/asmmacro.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] xtensa: 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/xtensa/include/asm/asmmacro.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/xtensa/include/asm/asmmacro.h b/arch/xtensa/include/asm/asmmacro.h
index 01bf7d9dbb19..a52d49a16ce7 100644
--- a/arch/xtensa/include/asm/asmmacro.h
+++ b/arch/xtensa/include/asm/asmmacro.h
@@ -11,7 +11,7 @@
 #ifndef _XTENSA_ASMMACRO_H
 #define _XTENSA_ASMMACRO_H
 
-#include <asm-generic/export.h>
+#include <linux/export.h>
 #include <asm/core.h>
 
 /*
-- 
2.40.1
Re: [PATCH] xtensa: replace <asm-generic/export.h> with <linux/export.h>
Posted by Max Filippov 2 years ago
On Sun, Nov 26, 2023 at 7:12 AM Masahiro Yamada <masahiroy@kernel.org> 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>.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
>
>  arch/xtensa/include/asm/asmmacro.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks. Applied to my xtensa tree.

-- 
Thanks.
-- Max