Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68k: Replace #include <asm/export.h> with #include <linux/export.h>

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

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

After all the <asm/export.h> lines are converted, <asm/export.h> and
<asm-generic/export.h> will be removed.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230807153654.997091-1-masahiroy@kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

authored by

Masahiro Yamada and committed by
Geert Uytterhoeven
7547cbe2 e346f9dd

+5 -5
+1 -1
arch/m68k/lib/divsi3.S
··· 33 33 D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992 34 34 */ 35 35 36 - #include <asm/export.h> 36 + #include <linux/export.h> 37 37 38 38 /* These are predefined by new versions of GNU cpp. */ 39 39
+1 -1
arch/m68k/lib/modsi3.S
··· 33 33 D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992 34 34 */ 35 35 36 - #include <asm/export.h> 36 + #include <linux/export.h> 37 37 38 38 /* These are predefined by new versions of GNU cpp. */ 39 39
+1 -1
arch/m68k/lib/mulsi3.S
··· 32 32 Some of this code comes from MINIX, via the folks at ericsson. 33 33 D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992 34 34 */ 35 - #include <asm/export.h> 35 + #include <linux/export.h> 36 36 /* These are predefined by new versions of GNU cpp. */ 37 37 38 38 #ifndef __USER_LABEL_PREFIX__
+1 -1
arch/m68k/lib/udivsi3.S
··· 32 32 Some of this code comes from MINIX, via the folks at ericsson. 33 33 D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992 34 34 */ 35 - #include <asm/export.h> 35 + #include <linux/export.h> 36 36 /* These are predefined by new versions of GNU cpp. */ 37 37 38 38 #ifndef __USER_LABEL_PREFIX__
+1 -1
arch/m68k/lib/umodsi3.S
··· 32 32 Some of this code comes from MINIX, via the folks at ericsson. 33 33 D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992 34 34 */ 35 - #include <asm/export.h> 35 + #include <linux/export.h> 36 36 /* These are predefined by new versions of GNU cpp. */ 37 37 38 38 #ifndef __USER_LABEL_PREFIX__