alpha: replace #include <asm/export.h> with #include <linux/export.h>

Commit ddb5cdbafa ("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>
This commit is contained in:
Masahiro Yamada 2023-08-20 08:33:52 +09:00
parent b154f64239
commit f3c78e949d
32 changed files with 32 additions and 32 deletions

View File

@ -3,8 +3,8 @@
* arch/alpha/lib/callback_srm.S * arch/alpha/lib/callback_srm.S
*/ */
#include <linux/export.h>
#include <asm/console.h> #include <asm/console.h>
#include <asm/export.h>
.text .text
#define HWRPB_CRB_OFFSET 0xc0 #define HWRPB_CRB_OFFSET 0xc0

View File

@ -4,7 +4,7 @@
* *
* Zero an entire page. * Zero an entire page.
*/ */
#include <asm/export.h> #include <linux/export.h>
.text .text
.align 4 .align 4
.global clear_page .global clear_page

View File

@ -10,7 +10,7 @@
* a successful copy). There is also some rather minor exception setup * a successful copy). There is also some rather minor exception setup
* stuff. * stuff.
*/ */
#include <asm/export.h> #include <linux/export.h>
/* Allow an exception for an insn; exit if we get one. */ /* Allow an exception for an insn; exit if we get one. */
#define EX(x,y...) \ #define EX(x,y...) \

View File

@ -4,7 +4,7 @@
* *
* Copy an entire page. * Copy an entire page.
*/ */
#include <asm/export.h> #include <linux/export.h>
.text .text
.align 4 .align 4
.global copy_page .global copy_page

View File

@ -12,7 +12,7 @@
* exception setup stuff.. * exception setup stuff..
*/ */
#include <asm/export.h> #include <linux/export.h>
/* Allow an exception for an insn; exit if we get one. */ /* Allow an exception for an insn; exit if we get one. */
#define EXI(x,y...) \ #define EXI(x,y...) \

View File

@ -13,7 +13,7 @@
* added by Ivan Kokshaysky <ink@jurassic.park.msu.ru> * added by Ivan Kokshaysky <ink@jurassic.park.msu.ru>
*/ */
#include <asm/export.h> #include <linux/export.h>
.globl csum_ipv6_magic .globl csum_ipv6_magic
.align 4 .align 4
.ent csum_ipv6_magic .ent csum_ipv6_magic

View File

@ -46,7 +46,7 @@
* $28 - compare status * $28 - compare status
*/ */
#include <asm/export.h> #include <linux/export.h>
#define halt .long 0 #define halt .long 0
/* /*

View File

@ -4,7 +4,7 @@
* *
* Zero an entire page. * Zero an entire page.
*/ */
#include <asm/export.h> #include <linux/export.h>
.text .text
.align 4 .align 4
.global clear_page .global clear_page

View File

@ -29,7 +29,7 @@
* want to leave a hole (and we also want to avoid repeating lots of work) * want to leave a hole (and we also want to avoid repeating lots of work)
*/ */
#include <asm/export.h> #include <linux/export.h>
/* Allow an exception for an insn; exit if we get one. */ /* Allow an exception for an insn; exit if we get one. */
#define EX(x,y...) \ #define EX(x,y...) \
99: x,##y; \ 99: x,##y; \

View File

@ -57,7 +57,7 @@
destination pages are in the dcache, but it is my guess that this is destination pages are in the dcache, but it is my guess that this is
less important than the dcache miss case. */ less important than the dcache miss case. */
#include <asm/export.h> #include <linux/export.h>
.text .text
.align 4 .align 4
.global copy_page .global copy_page

View File

@ -23,7 +23,7 @@
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
*/ */
#include <asm/export.h> #include <linux/export.h>
/* Allow an exception for an insn; exit if we get one. */ /* Allow an exception for an insn; exit if we get one. */
#define EXI(x,y...) \ #define EXI(x,y...) \
99: x,##y; \ 99: x,##y; \

View File

@ -53,7 +53,7 @@
* may cause additional delay in rare cases (load-load replay traps). * may cause additional delay in rare cases (load-load replay traps).
*/ */
#include <asm/export.h> #include <linux/export.h>
.globl csum_ipv6_magic .globl csum_ipv6_magic
.align 4 .align 4
.ent csum_ipv6_magic .ent csum_ipv6_magic

View File

@ -56,7 +56,7 @@
* Try not to change the actual algorithm if possible for consistency. * Try not to change the actual algorithm if possible for consistency.
*/ */
#include <asm/export.h> #include <linux/export.h>
#define halt .long 0 #define halt .long 0
/* /*

View File

@ -28,7 +28,7 @@
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
* Try not to change the actual algorithm if possible for consistency. * Try not to change the actual algorithm if possible for consistency.
*/ */
#include <asm/export.h> #include <linux/export.h>
.set noreorder .set noreorder
.set noat .set noat

View File

@ -20,7 +20,7 @@
* Temp usage notes: * Temp usage notes:
* $1,$2, - scratch * $1,$2, - scratch
*/ */
#include <asm/export.h> #include <linux/export.h>
.set noreorder .set noreorder
.set noat .set noat

View File

@ -27,7 +27,7 @@
* as fixes will need to be made in multiple places. The performance gain * as fixes will need to be made in multiple places. The performance gain
* is worth it. * is worth it.
*/ */
#include <asm/export.h> #include <linux/export.h>
.set noat .set noat
.set noreorder .set noreorder
.text .text

View File

@ -20,7 +20,7 @@
* string once. * string once.
*/ */
#include <asm/export.h> #include <linux/export.h>
.text .text
.align 4 .align 4

View File

@ -16,7 +16,7 @@
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
* Try not to change the actual algorithm if possible for consistency. * Try not to change the actual algorithm if possible for consistency.
*/ */
#include <asm/export.h> #include <linux/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
.set noreorder .set noreorder

View File

@ -18,7 +18,7 @@
* U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
*/ */
#include <asm/export.h> #include <linux/export.h>
.set noreorder .set noreorder
.set noat .set noat

View File

@ -21,7 +21,7 @@
* Try not to change the actual algorithm if possible for consistency. * Try not to change the actual algorithm if possible for consistency.
*/ */
#include <asm/export.h> #include <linux/export.h>
.text .text
.align 4 .align 4

View File

@ -19,7 +19,7 @@
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
*/ */
#include <asm/export.h> #include <linux/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
.set noreorder .set noreorder

View File

@ -31,7 +31,7 @@ For correctness consider that:
- only minimum number of quadwords may be accessed - only minimum number of quadwords may be accessed
- the third argument is an unsigned long - the third argument is an unsigned long
*/ */
#include <asm/export.h> #include <linux/export.h>
.set noreorder .set noreorder
.set noat .set noat

View File

@ -7,7 +7,7 @@
* This is hand-massaged output from the original memcpy.c. We defer to * This is hand-massaged output from the original memcpy.c. We defer to
* memcpy whenever possible; the backwards copy loops are not unrolled. * memcpy whenever possible; the backwards copy loops are not unrolled.
*/ */
#include <asm/export.h> #include <linux/export.h>
.set noat .set noat
.set noreorder .set noreorder
.text .text

View File

@ -14,7 +14,7 @@
* The scheduling comments are according to the EV5 documentation (and done by * The scheduling comments are according to the EV5 documentation (and done by
* hand, so they might well be incorrect, please do tell me about it..) * hand, so they might well be incorrect, please do tell me about it..)
*/ */
#include <asm/export.h> #include <linux/export.h>
.set noat .set noat
.set noreorder .set noreorder
.text .text

View File

@ -5,7 +5,7 @@
* *
* Append a null-terminated string from SRC to DST. * Append a null-terminated string from SRC to DST.
*/ */
#include <asm/export.h> #include <linux/export.h>
.text .text

View File

@ -6,7 +6,7 @@
* Return the address of a given character within a null-terminated * Return the address of a given character within a null-terminated
* string, or null if it is not found. * string, or null if it is not found.
*/ */
#include <asm/export.h> #include <linux/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
.set noreorder .set noreorder

View File

@ -6,7 +6,7 @@
* Copy a null-terminated string from SRC to DST. Return a pointer * Copy a null-terminated string from SRC to DST. Return a pointer
* to the null-terminator in the source. * to the null-terminator in the source.
*/ */
#include <asm/export.h> #include <linux/export.h>
.text .text
.align 3 .align 3

View File

@ -12,7 +12,7 @@
* do this instead of the 9 instructions that * do this instead of the 9 instructions that
* binary search needs). * binary search needs).
*/ */
#include <asm/export.h> #include <linux/export.h>
.set noreorder .set noreorder
.set noat .set noat

View File

@ -10,7 +10,7 @@
* past count, whereas libc may write to count+1. This follows the generic * past count, whereas libc may write to count+1. This follows the generic
* implementation in lib/string.c and is, IMHO, more sensible. * implementation in lib/string.c and is, IMHO, more sensible.
*/ */
#include <asm/export.h> #include <linux/export.h>
.text .text
.align 3 .align 3

View File

@ -11,7 +11,7 @@
* version has cropped that bit o' nastiness as well as assuming that * version has cropped that bit o' nastiness as well as assuming that
* __stxncpy is in range of a branch. * __stxncpy is in range of a branch.
*/ */
#include <asm/export.h> #include <linux/export.h>
.set noat .set noat
.set noreorder .set noreorder

View File

@ -6,7 +6,7 @@
* Return the address of the last occurrence of a given character * Return the address of the last occurrence of a given character
* within a null-terminated string, or null if it is not found. * within a null-terminated string, or null if it is not found.
*/ */
#include <asm/export.h> #include <linux/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
.set noreorder .set noreorder

View File

@ -25,7 +25,7 @@
# along with GCC; see the file COPYING. If not, write to the # along with GCC; see the file COPYING. If not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, # Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA. # MA 02111-1307, USA.
#include <asm/export.h> #include <linux/export.h>
.set noreorder .set noreorder
.set noat .set noat