powerpc: Add PPC_NOP_INSTR, a hash define for the preferred nop instruction

A bunch of code has hard-coded the value for a "nop" instruction, it
would be nice to have a #define for it.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Michael Ellerman
2008-06-24 11:32:35 +10:00
committed by Paul Mackerras
parent ae0dc73625
commit b7bcda631e
4 changed files with 7 additions and 3 deletions
+2
View File
@@ -12,6 +12,8 @@
#include <asm/types.h>
#define PPC_NOP_INSTR 0x60000000
/* Flags for create_branch:
* "b" == create_branch(addr, target, 0);
* "ba" == create_branch(addr, target, BRANCH_ABSOLUTE);