Skip to contentSkip to conversation

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

PATCH In review Masahiro Yamada 2 participants 2 messages Nov 26, 2023 – Nov 29, 2023 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xtensa: 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>.

---

 arch/xtensa/include/asm/asmmacro.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/xtensa/include/asm/asmmacro.h +1 -1
index 01bf7d9dbb19..a52d49a16ce7 100644
@@ -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>
 
 /*
Signature · 1 line
2.40.1
maintainer
#1 lore raw
Quoted 5 lines · Masahiro Yamada

Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost") deprecated <asm-generic/export.h>, which is now a wrapper of <linux/export.h>.

Quoted 7 lines

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

---

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

Thanks. Applied to my xtensa tree.

Signature · 2 lines
Thanks.
-- Max