summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorNicholas Piggin2019-06-23 12:41:51 +0200
committerMichael Ellerman2019-07-03 07:19:35 +0200
commitfe7946ce0808eb0e43711f5db7d2d1599b362d02 (patch)
tree4c74e30f5868d3a897c018e1df3d2eaa98b39986 /arch/powerpc/include
parentpowerpc/64s/exception: simplify hmi control flow (diff)
downloadkernel-qcow2-linux-fe7946ce0808eb0e43711f5db7d2d1599b362d02.tar.gz
kernel-qcow2-linux-fe7946ce0808eb0e43711f5db7d2d1599b362d02.tar.xz
kernel-qcow2-linux-fe7946ce0808eb0e43711f5db7d2d1599b362d02.zip
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>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/ppc-opcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h
index 23f7ed796f38..14f43b6cf7ec 100644
--- a/arch/powerpc/include/asm/ppc-opcode.h
+++ b/arch/powerpc/include/asm/ppc-opcode.h
@@ -591,7 +591,7 @@
#define PPC_SLBIA(IH) stringify_in_c(.long PPC_INST_SLBIA | \
((IH & 0x7) << 21))
-#define PPC_INVALIDATE_ERAT PPC_SLBIA(7)
+#define PPC_ISA_3_0_INVALIDATE_ERAT PPC_SLBIA(7)
#define VCMPEQUD_RC(vrt, vra, vrb) stringify_in_c(.long PPC_INST_VCMPEQUD | \
___PPC_RT(vrt) | ___PPC_RA(vra) | \