Skip to content

Commit f3c78e9

Browse files
committed
alpha: replace #include <asm/export.h> with #include <linux/export.h>
Commit ddb5cdb ("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 <[email protected]>
1 parent b154f64 commit f3c78e9

32 files changed

+32
-32
lines changed

arch/alpha/lib/callback_srm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* arch/alpha/lib/callback_srm.S
44
*/
55

6+
#include <linux/export.h>
67
#include <asm/console.h>
7-
#include <asm/export.h>
88

99
.text
1010
#define HWRPB_CRB_OFFSET 0xc0

arch/alpha/lib/clear_page.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Zero an entire page.
66
*/
7-
#include <asm/export.h>
7+
#include <linux/export.h>
88
.text
99
.align 4
1010
.global clear_page

arch/alpha/lib/clear_user.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* a successful copy). There is also some rather minor exception setup
1111
* stuff.
1212
*/
13-
#include <asm/export.h>
13+
#include <linux/export.h>
1414

1515
/* Allow an exception for an insn; exit if we get one. */
1616
#define EX(x,y...) \

arch/alpha/lib/copy_page.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Copy an entire page.
66
*/
7-
#include <asm/export.h>
7+
#include <linux/export.h>
88
.text
99
.align 4
1010
.global copy_page

arch/alpha/lib/copy_user.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* exception setup stuff..
1313
*/
1414

15-
#include <asm/export.h>
15+
#include <linux/export.h>
1616

1717
/* Allow an exception for an insn; exit if we get one. */
1818
#define EXI(x,y...) \

arch/alpha/lib/csum_ipv6_magic.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* added by Ivan Kokshaysky <[email protected]>
1414
*/
1515

16-
#include <asm/export.h>
16+
#include <linux/export.h>
1717
.globl csum_ipv6_magic
1818
.align 4
1919
.ent csum_ipv6_magic

arch/alpha/lib/divide.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* $28 - compare status
4747
*/
4848

49-
#include <asm/export.h>
49+
#include <linux/export.h>
5050
#define halt .long 0
5151

5252
/*

arch/alpha/lib/ev6-clear_page.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Zero an entire page.
66
*/
7-
#include <asm/export.h>
7+
#include <linux/export.h>
88
.text
99
.align 4
1010
.global clear_page

arch/alpha/lib/ev6-clear_user.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* want to leave a hole (and we also want to avoid repeating lots of work)
3030
*/
3131

32-
#include <asm/export.h>
32+
#include <linux/export.h>
3333
/* Allow an exception for an insn; exit if we get one. */
3434
#define EX(x,y...) \
3535
99: x,##y; \

arch/alpha/lib/ev6-copy_page.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
destination pages are in the dcache, but it is my guess that this is
5858
less important than the dcache miss case. */
5959

60-
#include <asm/export.h>
60+
#include <linux/export.h>
6161
.text
6262
.align 4
6363
.global copy_page

arch/alpha/lib/ev6-copy_user.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
2424
*/
2525

26-
#include <asm/export.h>
26+
#include <linux/export.h>
2727
/* Allow an exception for an insn; exit if we get one. */
2828
#define EXI(x,y...) \
2929
99: x,##y; \

arch/alpha/lib/ev6-csum_ipv6_magic.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* may cause additional delay in rare cases (load-load replay traps).
5454
*/
5555

56-
#include <asm/export.h>
56+
#include <linux/export.h>
5757
.globl csum_ipv6_magic
5858
.align 4
5959
.ent csum_ipv6_magic

arch/alpha/lib/ev6-divide.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* Try not to change the actual algorithm if possible for consistency.
5757
*/
5858

59-
#include <asm/export.h>
59+
#include <linux/export.h>
6060
#define halt .long 0
6161

6262
/*

arch/alpha/lib/ev6-memchr.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
2929
* Try not to change the actual algorithm if possible for consistency.
3030
*/
31-
#include <asm/export.h>
31+
#include <linux/export.h>
3232
.set noreorder
3333
.set noat
3434

arch/alpha/lib/ev6-memcpy.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Temp usage notes:
2121
* $1,$2, - scratch
2222
*/
23-
#include <asm/export.h>
23+
#include <linux/export.h>
2424
.set noreorder
2525
.set noat
2626

arch/alpha/lib/ev6-memset.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* as fixes will need to be made in multiple places. The performance gain
2828
* is worth it.
2929
*/
30-
#include <asm/export.h>
30+
#include <linux/export.h>
3131
.set noat
3232
.set noreorder
3333
.text

arch/alpha/lib/ev67-strcat.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* string once.
2121
*/
2222

23-
#include <asm/export.h>
23+
#include <linux/export.h>
2424
.text
2525

2626
.align 4

arch/alpha/lib/ev67-strchr.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
1717
* Try not to change the actual algorithm if possible for consistency.
1818
*/
19-
#include <asm/export.h>
19+
#include <linux/export.h>
2020
#include <asm/regdef.h>
2121

2222
.set noreorder

arch/alpha/lib/ev67-strlen.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1
1919
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
2020
*/
21-
#include <asm/export.h>
21+
#include <linux/export.h>
2222
.set noreorder
2323
.set noat
2424

arch/alpha/lib/ev67-strncat.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Try not to change the actual algorithm if possible for consistency.
2222
*/
2323

24-
#include <asm/export.h>
24+
#include <linux/export.h>
2525
.text
2626

2727
.align 4

arch/alpha/lib/ev67-strrchr.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
2020
*/
2121

22-
#include <asm/export.h>
22+
#include <linux/export.h>
2323
#include <asm/regdef.h>
2424

2525
.set noreorder

arch/alpha/lib/memchr.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For correctness consider that:
3131
- only minimum number of quadwords may be accessed
3232
- the third argument is an unsigned long
3333
*/
34-
#include <asm/export.h>
34+
#include <linux/export.h>
3535
.set noreorder
3636
.set noat
3737

arch/alpha/lib/memmove.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* This is hand-massaged output from the original memcpy.c. We defer to
88
* memcpy whenever possible; the backwards copy loops are not unrolled.
99
*/
10-
#include <asm/export.h>
10+
#include <linux/export.h>
1111
.set noat
1212
.set noreorder
1313
.text

arch/alpha/lib/memset.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* The scheduling comments are according to the EV5 documentation (and done by
1515
* hand, so they might well be incorrect, please do tell me about it..)
1616
*/
17-
#include <asm/export.h>
17+
#include <linux/export.h>
1818
.set noat
1919
.set noreorder
2020
.text

arch/alpha/lib/strcat.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Append a null-terminated string from SRC to DST.
77
*/
8-
#include <asm/export.h>
8+
#include <linux/export.h>
99

1010
.text
1111

arch/alpha/lib/strchr.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Return the address of a given character within a null-terminated
77
* string, or null if it is not found.
88
*/
9-
#include <asm/export.h>
9+
#include <linux/export.h>
1010
#include <asm/regdef.h>
1111

1212
.set noreorder

arch/alpha/lib/strcpy.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copy a null-terminated string from SRC to DST. Return a pointer
77
* to the null-terminator in the source.
88
*/
9-
#include <asm/export.h>
9+
#include <linux/export.h>
1010
.text
1111

1212
.align 3

arch/alpha/lib/strlen.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* do this instead of the 9 instructions that
1313
* binary search needs).
1414
*/
15-
#include <asm/export.h>
15+
#include <linux/export.h>
1616
.set noreorder
1717
.set noat
1818

arch/alpha/lib/strncat.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* past count, whereas libc may write to count+1. This follows the generic
1111
* implementation in lib/string.c and is, IMHO, more sensible.
1212
*/
13-
#include <asm/export.h>
13+
#include <linux/export.h>
1414
.text
1515

1616
.align 3

arch/alpha/lib/strncpy.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* version has cropped that bit o' nastiness as well as assuming that
1212
* __stxncpy is in range of a branch.
1313
*/
14-
#include <asm/export.h>
14+
#include <linux/export.h>
1515
.set noat
1616
.set noreorder
1717

arch/alpha/lib/strrchr.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Return the address of the last occurrence of a given character
77
* within a null-terminated string, or null if it is not found.
88
*/
9-
#include <asm/export.h>
9+
#include <linux/export.h>
1010
#include <asm/regdef.h>
1111

1212
.set noreorder

arch/alpha/lib/udiv-qrnnd.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# along with GCC; see the file COPYING. If not, write to the
2626
# Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
2727
# MA 02111-1307, USA.
28-
#include <asm/export.h>
28+
#include <linux/export.h>
2929

3030
.set noreorder
3131
.set noat

0 commit comments

Comments
 (0)