powerpc/64s: Rename PPC_INVALIDATE_ERAT to PPC_ISA_3_0_INVALIDATE_ERAT
This makes it clear to the caller that it can only be used on POWER9 and later CPUs. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Use "ISA_3_0" rather than "ARCH_300"] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
293c2e27b9
commit
fe7946ce08
@@ -720,7 +720,7 @@ static unsigned long power9_idle_stop(unsigned long psscr, bool mmu_on)
|
||||
* to reload MMCR0 (see mmcr0 comment above).
|
||||
*/
|
||||
if (!cpu_has_feature(CPU_FTR_POWER9_DD2_1)) {
|
||||
asm volatile(PPC_INVALIDATE_ERAT);
|
||||
asm volatile(PPC_ISA_3_0_INVALIDATE_ERAT);
|
||||
mtspr(SPRN_MMCR0, mmcr0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user