summaryrefslogtreecommitdiff
path: root/arch/mips/lib/strncpy_user.S
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-01-25 15:19:44 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-01-27 09:04:19 +0100
commitfa62f39dc7e25fc16371b958ac59b9a6fd260bea (patch)
treec405fafe6828fdbd4e29d72eea87d54cd6e63b66 /arch/mips/lib/strncpy_user.S
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
MIPS: Fix build error due to PTR used in more places
Use PTR_WD instead of PTR to avoid clashes with other parts. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/lib/strncpy_user.S')
-rw-r--r--arch/mips/lib/strncpy_user.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/lib/strncpy_user.S b/arch/mips/lib/strncpy_user.S
index 556acf684d7b..13aaa9927ad1 100644
--- a/arch/mips/lib/strncpy_user.S
+++ b/arch/mips/lib/strncpy_user.S
@@ -15,7 +15,7 @@
#define EX(insn,reg,addr,handler) \
9: insn reg, addr; \
.section __ex_table,"a"; \
- PTR 9b, handler; \
+ PTR_WD 9b, handler; \
.previous
/*
@@ -59,7 +59,7 @@ LEAF(__strncpy_from_user_asm)
jr ra
.section __ex_table,"a"
- PTR 1b, .Lfault
+ PTR_WD 1b, .Lfault
.previous
EXPORT_SYMBOL(__strncpy_from_user_asm)