X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fsstep.h;h=f593b0f9b6278ee5625173931bb19eb72fb3d894;hb=0ce3c83a9c22f59937b86c80b478dfbffe54dbab;hp=630a9889c07c0d735c0c6dbed91f34a64ecd5489;hpb=18ce920a6eba05c0d55cdc95fbbadf7e4c4b457b;p=firefly-linux-kernel-4.4.55.git diff --git a/include/asm-powerpc/sstep.h b/include/asm-powerpc/sstep.h index 630a9889c07c..f593b0f9b627 100644 --- a/include/asm-powerpc/sstep.h +++ b/include/asm-powerpc/sstep.h @@ -21,6 +21,7 @@ struct pt_regs; */ #define IS_MTMSRD(instr) (((instr) & 0xfc0007be) == 0x7c000124) #define IS_RFID(instr) (((instr) & 0xfc0007fe) == 0x4c000024) +#define IS_RFI(instr) (((instr) & 0xfc0007fe) == 0x4c000064) /* Emulate instructions that cause a transfer of control. */ extern int emulate_step(struct pt_regs *regs, unsigned int instr);