]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/kernel/crash_dump.c
powerpc: Add PPC_NOP_INSTR, a hash define for the preferred nop instruction
[~andy/linux] / arch / powerpc / kernel / crash_dump.c
index 26648544d5e42c4cc30741ff7746f0fa33f0e38c..e0debcca0bfadaf03dbc6f3c35a56f1ad4a3aee2 100644 (file)
@@ -44,7 +44,7 @@ static void __init create_trampoline(unsigned long addr)
         * branch to "addr" we jump to ("addr" + 32 MB). Although it requires
         * two instructions it doesn't require any registers.
         */
-       patch_instruction(p, 0x60000000); /* nop */
+       patch_instruction(p, PPC_NOP_INSTR);
        patch_branch(++p, addr + PHYSICAL_START, 0);
 }