aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/asm.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/asm.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/asm.h')
-rw-r--r--arch/mips/include/asm/asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h
index 6ffdd4b5e1d0..336ac9b65235 100644
--- a/arch/mips/include/asm/asm.h
+++ b/arch/mips/include/asm/asm.h
@@ -285,7 +285,7 @@ symbol = value
#define PTR_SCALESHIFT 2
-#define PTR .word
+#define PTR_WD .word
#define PTRSIZE 4
#define PTRLOG 2
#endif
@@ -310,7 +310,7 @@ symbol = value
#define PTR_SCALESHIFT 3
-#define PTR .dword
+#define PTR_WD .dword
#define PTRSIZE 8
#define PTRLOG 3
#endif