summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/jump_label.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-05-20 12:23:11 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-15 16:16:49 +0200
commitf30becb5e9ec086257162f78be491c0920c616b7 (patch)
tree758f69ab07c45008857f53e4374731933a4a44a3 /arch/powerpc/kernel/jump_label.c
parentpowerpc/traps: Start using PPC_RAW_xx() macros (diff)
downloadlinux-f30becb5e9ec086257162f78be491c0920c616b7.tar.xz
linux-f30becb5e9ec086257162f78be491c0920c616b7.zip
powerpc: Replace PPC_INST_NOP by PPC_RAW_NOP()
On the road to removing all PPC_INST_xx defines in asm/ppc-opcodes.h, change PPC_INST_NOP to PPC_RAW_NOP(). Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/ad46c195ca1b8572629ef07ba6bfe247585239a6.1621506159.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/jump_label.c')
-rw-r--r--arch/powerpc/kernel/jump_label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/jump_label.c b/arch/powerpc/kernel/jump_label.c
index ce87dc5ea23c..90c97246384c 100644
--- a/arch/powerpc/kernel/jump_label.c
+++ b/arch/powerpc/kernel/jump_label.c
@@ -16,5 +16,5 @@ void arch_jump_label_transform(struct jump_entry *entry,
if (type == JUMP_LABEL_JMP)
patch_branch(addr, jump_entry_target(entry), 0);
else
- patch_instruction(addr, ppc_inst(PPC_INST_NOP));
+ patch_instruction(addr, ppc_inst(PPC_RAW_NOP()));
}