Commit 7547cbe2 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Geert Uytterhoeven
Browse files

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



Commit ddb5cdba ("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: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230807153654.997091-1-masahiroy@kernel.org


Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent e346f9dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ General Public License for more details. */
   D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
*/

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

/* These are predefined by new versions of GNU cpp.  */

+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ General Public License for more details. */
   D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
*/

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

/* These are predefined by new versions of GNU cpp.  */

+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ General Public License for more details. */
   Some of this code comes from MINIX, via the folks at ericsson.
   D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
*/
#include <asm/export.h>
#include <linux/export.h>
/* These are predefined by new versions of GNU cpp.  */

#ifndef __USER_LABEL_PREFIX__
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ General Public License for more details. */
   Some of this code comes from MINIX, via the folks at ericsson.
   D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
*/
#include <asm/export.h>
#include <linux/export.h>
/* These are predefined by new versions of GNU cpp.  */

#ifndef __USER_LABEL_PREFIX__
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ General Public License for more details. */
   Some of this code comes from MINIX, via the folks at ericsson.
   D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
*/
#include <asm/export.h>
#include <linux/export.h>
/* These are predefined by new versions of GNU cpp.  */

#ifndef __USER_LABEL_PREFIX__