alpha: replace #include <asm/export.h> with #include <linux/export.h>
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 19 Aug 2023 23:33:52 +0000 (08:33 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 22 Aug 2023 09:12:46 +0000 (18:12 +0900)
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>
32 files changed:
arch/alpha/lib/callback_srm.S
arch/alpha/lib/clear_page.S
arch/alpha/lib/clear_user.S
arch/alpha/lib/copy_page.S
arch/alpha/lib/copy_user.S
arch/alpha/lib/csum_ipv6_magic.S
arch/alpha/lib/divide.S
arch/alpha/lib/ev6-clear_page.S
arch/alpha/lib/ev6-clear_user.S
arch/alpha/lib/ev6-copy_page.S
arch/alpha/lib/ev6-copy_user.S
arch/alpha/lib/ev6-csum_ipv6_magic.S
arch/alpha/lib/ev6-divide.S
arch/alpha/lib/ev6-memchr.S
arch/alpha/lib/ev6-memcpy.S
arch/alpha/lib/ev6-memset.S
arch/alpha/lib/ev67-strcat.S
arch/alpha/lib/ev67-strchr.S
arch/alpha/lib/ev67-strlen.S
arch/alpha/lib/ev67-strncat.S
arch/alpha/lib/ev67-strrchr.S
arch/alpha/lib/memchr.S
arch/alpha/lib/memmove.S
arch/alpha/lib/memset.S
arch/alpha/lib/strcat.S
arch/alpha/lib/strchr.S
arch/alpha/lib/strcpy.S
arch/alpha/lib/strlen.S
arch/alpha/lib/strncat.S
arch/alpha/lib/strncpy.S
arch/alpha/lib/strrchr.S
arch/alpha/lib/udiv-qrnnd.S

index b13c4a231f1b7fd088d2338585beb28fd5de8faa..36b63f2951709040dcc88e4e7e96f97247f10262 100644 (file)
@@ -3,8 +3,8 @@
  *     arch/alpha/lib/callback_srm.S
  */
 
+#include <linux/export.h>
 #include <asm/console.h>
-#include <asm/export.h>
 
 .text
 #define HWRPB_CRB_OFFSET 0xc0
index ce02de7b049347b99c7eed9ee7c7deceb41af895..af70ee309a339e54f4cf237614f82d0ff8e6a3d7 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Zero an entire page.
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .text
        .align 4
        .global clear_page
index db6c6ca45896c8d3b643cf61df2bf935e8d5a8b7..848eb60a0010c88223a20fea9ceed5cafee9cc1d 100644 (file)
@@ -10,7 +10,7 @@
  * a successful copy).  There is also some rather minor exception setup
  * stuff.
  */
-#include <asm/export.h>
+#include <linux/export.h>
 
 /* Allow an exception for an insn; exit if we get one.  */
 #define EX(x,y...)                     \
index 5439a30c77d069ac50c7c97ab333e92d5b378ae1..1c444fdad9a5b8753581378342bc9e430239997d 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copy an entire page.
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .text
        .align 4
        .global copy_page
index 32ab0344b1853cf2032e76bd8cdbdceaf4454b03..ef18faafcad6ece12bee961bdc3d108bc3c11919 100644 (file)
@@ -12,7 +12,7 @@
  * exception setup stuff..
  */
 
-#include <asm/export.h>
+#include <linux/export.h>
 
 /* Allow an exception for an insn; exit if we get one.  */
 #define EXI(x,y...)                    \
index c7b213ab01abbc35dc32da97c600351b7b1513cc..273c426c3859b79c6ea88a373de1f8abf71735cd 100644 (file)
@@ -13,7 +13,7 @@
  * added by Ivan Kokshaysky <ink@jurassic.park.msu.ru>
  */
 
-#include <asm/export.h>
+#include <linux/export.h>
        .globl csum_ipv6_magic
        .align 4
        .ent csum_ipv6_magic
index 2b60eb45e50b68993b6225c8c7f23cacedd00651..db01840d76ec7366c8b4a802976d8d318e1f4bb6 100644 (file)
@@ -46,7 +46,7 @@
  *     $28 - compare status
  */
 
-#include <asm/export.h>
+#include <linux/export.h>
 #define halt .long 0
 
 /*
index 325864c81586daa94d1b04534ed54016fadad6d3..a534d9ff7161c9f30bb70012bdea37f46785ae0b 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Zero an entire page.
  */
-#include <asm/export.h>
+#include <linux/export.h>
         .text
         .align 4
         .global clear_page
index 7e644f83cdf2905807b15b6cd788770c1be732d4..af776cc45f91e753ad869afcc97c057c1561a952 100644 (file)
@@ -29,7 +29,7 @@
  *     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.  */
 #define EX(x,y...)                     \
        99: x,##y;                      \
index fd7212c8dcf1848533ed8dc07c2f19c6a7aa673e..36be5113b7b747006d3636d43df4da5342222dbe 100644 (file)
@@ -57,7 +57,7 @@
    destination pages are in the dcache, but it is my guess that this is
    less important than the dcache miss case.  */
 
-#include <asm/export.h>
+#include <linux/export.h>
        .text
        .align 4
        .global copy_page
index f3e43375439743c54a2e58b2e7928339f50642bb..b9b19710c3648c992609c92011ba4ce79696ad7a 100644 (file)
@@ -23,7 +23,7 @@
  *     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.  */
 #define EXI(x,y...)                    \
        99: x,##y;                      \
index 9a73f90700a13a63cb3929d9ba3db7daab0250fc..2ee548be98e32dffb1bc2edb5213597e629f083f 100644 (file)
@@ -53,7 +53,7 @@
  * may cause additional delay in rare cases (load-load replay traps).
  */
 
-#include <asm/export.h>
+#include <linux/export.h>
        .globl csum_ipv6_magic
        .align 4
        .ent csum_ipv6_magic
index 137ff1a07356311d598cd8c254cb8214c8707ec7..b73a6d26362e7441cb219aa7efa7aa8adffb60b0 100644 (file)
@@ -56,7 +56,7 @@
  * Try not to change the actual algorithm if possible for consistency.
  */
 
-#include <asm/export.h>
+#include <linux/export.h>
 #define halt .long 0
 
 /*
index 56bf9e14eeeefadf510cbe4d52fba27c0f1f5701..f75ba43e61e378c9d688a97f090aefd4049e3ad1 100644 (file)
@@ -28,7 +28,7 @@
  *     L       - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
  * Try not to change the actual algorithm if possible for consistency.
  */
-#include <asm/export.h>
+#include <linux/export.h>
         .set noreorder
         .set noat
 
index ffbd056b6eb2905d72d01b6f5bc65d9ac4a06340..3ef43c26c8af6945851a25966b895f5d23b988fb 100644 (file)
@@ -20,7 +20,7 @@
  * Temp usage notes:
  *     $1,$2,          - scratch
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .set noreorder
        .set noat
 
index 1cfcfbbea6f068fcc69200bfd7a1d4177e1d6b75..89d7809da4ccd41774a9019cd88345cbefccc15c 100644 (file)
@@ -27,7 +27,7 @@
  * as fixes will need to be made in multiple places.  The performance gain
  * is worth it.
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .set noat
        .set noreorder
 .text
index ec3096a9e8d409558f7a29d19868688f7971dc81..f8c7305b11d63518fd2bf9595255ef119fe34211 100644 (file)
@@ -20,7 +20,7 @@
  * string once.
  */
 
-#include <asm/export.h>
+#include <linux/export.h>
        .text
 
        .align 4
index fbf89e0b6dc3b7bbb70560f1852728c01f3bf26d..97a7cb4753093c097787cab11e3b86829dbc5808 100644 (file)
@@ -16,7 +16,7 @@
  *     L       - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
  * Try not to change the actual algorithm if possible for consistency.
  */
-#include <asm/export.h>
+#include <linux/export.h>
 #include <asm/regdef.h>
 
        .set noreorder
index b73106ffbbc7c7e32e286a92ec9f2cc276038bfd..3d9078807ab4921da310b5ac57a8263091216a7e 100644 (file)
@@ -18,7 +18,7 @@
  *     U       - upper subcluster; U0 - subcluster U0; U1 - subcluster U1
  *     L       - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .set noreorder
        .set noat
 
index ceb0ca528789aa67026ed17e1e2b6db7245de242..8f313233e3a78ee7aee6aad683e834eeac61216c 100644 (file)
@@ -21,7 +21,7 @@
  * Try not to change the actual algorithm if possible for consistency.
  */
 
-#include <asm/export.h>
+#include <linux/export.h>
        .text
 
        .align 4
index 7f80e398530f564666cfac6f8b1fa8c836b028d4..ae7355f9ec560146a8219ae15fb84548397aadeb 100644 (file)
@@ -19,7 +19,7 @@
  *     L       - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
  */
 
-#include <asm/export.h>
+#include <linux/export.h>
 #include <asm/regdef.h>
 
        .set noreorder
index c13d3eca2e0592736dd17112ff836dcac5c0b7cb..45366e32feeed7d7285d0b8ca8ac5c25d1370671 100644 (file)
@@ -31,7 +31,7 @@ For correctness consider that:
       - only minimum number of quadwords may be accessed
       - the third argument is an unsigned long
 */
-#include <asm/export.h>
+#include <linux/export.h>
         .set noreorder
         .set noat
 
index 42d1922d0edfca212abebd5bbc674257723ba0ac..3a27689e33902dcaeb23f11e153a48b977210169 100644 (file)
@@ -7,7 +7,7 @@
  * This is hand-massaged output from the original memcpy.c.  We defer to
  * memcpy whenever possible; the backwards copy loops are not unrolled.
  */
-#include <asm/export.h>        
+#include <linux/export.h>
        .set noat
        .set noreorder
        .text
index 00393e30df259150a5bafe4d0e370987c3fce1e9..9075d69183461cea222555e98a3f0783ab7ccaf4 100644 (file)
@@ -14,7 +14,7 @@
  * 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..)
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .set noat
        .set noreorder
 .text
index 055877dccd276869895b8a48ad6d6c2590c019e2..62b90ebbcf4430f26f223caee2aa78c8df6d10d4 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Append a null-terminated string from SRC to DST.
  */
-#include <asm/export.h>
+#include <linux/export.h>
 
        .text
 
index 17871dd00280489f80b381a2610ca9b547058c9c..68c54ff50dfe4dcdd361f7a21003542673b613ae 100644 (file)
@@ -6,7 +6,7 @@
  * Return the address of a given character within a null-terminated
  * string, or null if it is not found.
  */
-#include <asm/export.h>
+#include <linux/export.h>
 #include <asm/regdef.h>
 
        .set noreorder
index cb74ad23a90df8a79a38ea157ac434bc7a7ac567..d8773ba77525a026140f90e071e14ed18a53033c 100644 (file)
@@ -6,7 +6,7 @@
  * Copy a null-terminated string from SRC to DST.  Return a pointer
  * to the null-terminator in the source.
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .text
 
        .align 3
index dd882fe4d7e3076469dbdba9d6c3a6135583c75a..4fc6a6ff24cdb7409814a64228021cda122fb102 100644 (file)
@@ -12,7 +12,7 @@
  *       do this instead of the 9 instructions that
  *       binary search needs).
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .set noreorder
        .set noat
 
index 522fee3e26ac148f8d0175f1964d7f586aa2fb64..a913a7c84a398c09a3b147d29c31dc64f7d3d8b5 100644 (file)
@@ -10,7 +10,7 @@
  * past count, whereas libc may write to count+1.  This follows the generic
  * implementation in lib/string.c and is, IMHO, more sensible.
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .text
 
        .align 3
index cc57fad8b7ca7728c28824dbc506357a562b3b8a..cb90cf022df3a0233e7954793d00f044e2b3f299 100644 (file)
@@ -11,7 +11,7 @@
  * version has cropped that bit o' nastiness as well as assuming that
  * __stxncpy is in range of a branch.
  */
-#include <asm/export.h>
+#include <linux/export.h>
        .set noat
        .set noreorder
 
index 7650ba99b7e2c877cb26d97351fa09bfe50b0e5e..dd8e073b6cf2a966e27e84cb4a300dd43e5771bb 100644 (file)
@@ -6,7 +6,7 @@
  * Return the address of the last occurrence of a given character
  * within a null-terminated string, or null if it is not found.
  */
-#include <asm/export.h>
+#include <linux/export.h>
 #include <asm/regdef.h>
 
        .set noreorder
index b887aa5428e55778dd224367f8f6f0df8113c683..96f05918bffe184dcabc0f2059d186daada93739 100644 (file)
@@ -25,7 +25,7 @@
  # along with GCC; see the file COPYING.  If not, write to the 
  # Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  # MA 02111-1307, USA.
-#include <asm/export.h>
+#include <linux/export.h>
 
         .set noreorder
         .set noat