mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Acked-by: Kumar Gala <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
ae0dc73625
commit
b7bcda631e
4 changed files with 7 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue