aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/idle.c
diff options
context:
space:
mode:
authorGravatar Alexey Kardashevskiy <aik@ozlabs.ru> 2021-12-21 16:59:03 +1100
committerGravatar Michael Ellerman <mpe@ellerman.id.au> 2021-12-23 22:35:13 +1100
commitd51f86cfd8e378d4907958db77da3074f6dce3ba (patch)
treef40ad63856098b252bb0280d228a53c7730e9d4c /arch/powerpc/kernel/idle.c
parentpowerpc/64/asm: Do not reassign labels (diff)
downloadlinux-d51f86cfd8e378d4907958db77da3074f6dce3ba.tar.gz
linux-d51f86cfd8e378d4907958db77da3074f6dce3ba.tar.bz2
linux-d51f86cfd8e378d4907958db77da3074f6dce3ba.zip
powerpc/mm: Switch obsolete dssall to .long
The dssall ("Data Stream Stop All") instruction is obsolete altogether with other Data Cache Instructions since ISA 2.03 (year 2006). LLVM IAS does not support it but PPC970 seems to be using it. This switches dssall to .long as there is no much point in fixing LLVM. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211221055904.555763-6-aik@ozlabs.ru
Diffstat (limited to 'arch/powerpc/kernel/idle.c')
-rw-r--r--arch/powerpc/kernel/idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c
index 1f835539fda4..4ad79eb638c6 100644
--- a/arch/powerpc/kernel/idle.c
+++ b/arch/powerpc/kernel/idle.c
@@ -82,7 +82,7 @@ void power4_idle(void)
return;
if (cpu_has_feature(CPU_FTR_ALTIVEC))
- asm volatile("DSSALL ; sync" ::: "memory");
+ asm volatile(PPC_DSSALL " ; sync" ::: "memory");
power4_idle_nap();