aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/memcpy.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/memcpy.S
parentLinux 5.17-rc1 (diff)
downloadlinux-dev-fa62f39dc7e25fc16371b958ac59b9a6fd260bea.tar.xz
linux-dev-fa62f39dc7e25fc16371b958ac59b9a6fd260bea.zip
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/memcpy.S')
-rw-r--r--arch/mips/lib/memcpy.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/lib/memcpy.S b/arch/mips/lib/memcpy.S
index 277c32296636..18a43f2e29c8 100644
--- a/arch/mips/lib/memcpy.S
+++ b/arch/mips/lib/memcpy.S
@@ -116,7 +116,7 @@
.if \mode == LEGACY_MODE; \
9: insn reg, addr; \
.section __ex_table,"a"; \
- PTR 9b, handler; \
+ PTR_WD 9b, handler; \
.previous; \
/* This is assembled in EVA mode */ \
.else; \
@@ -125,7 +125,7 @@
((\to == USEROP) && (type == ST_INSN)); \
9: __BUILD_EVA_INSN(insn##e, reg, addr); \
.section __ex_table,"a"; \
- PTR 9b, handler; \
+ PTR_WD 9b, handler; \
.previous; \
.else; \
/* \