aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/ftrace.h
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/include/asm/ftrace.h
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/include/asm/ftrace.h')
-rw-r--r--arch/mips/include/asm/ftrace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/ftrace.h b/arch/mips/include/asm/ftrace.h
index b463f2aa5a61..db497a8167da 100644
--- a/arch/mips/include/asm/ftrace.h
+++ b/arch/mips/include/asm/ftrace.h
@@ -32,7 +32,7 @@ do { \
".previous\n" \
\
".section\t__ex_table,\"a\"\n\t" \
- STR(PTR) "\t1b, 3b\n\t" \
+ STR(PTR_WD) "\t1b, 3b\n\t" \
".previous\n" \
\
: [tmp_dst] "=&r" (dst), [tmp_err] "=r" (error)\
@@ -54,7 +54,7 @@ do { \
".previous\n" \
\
".section\t__ex_table,\"a\"\n\t"\
- STR(PTR) "\t1b, 3b\n\t" \
+ STR(PTR_WD) "\t1b, 3b\n\t" \
".previous\n" \
\
: [tmp_err] "=r" (error) \