diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-02-06 22:55:19 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-02-06 22:55:19 -0600 |
commit | 8209003547c4b1006943eac8dc6c1fb6493cafda (patch) | |
tree | 37ed5742527d448f211c575fe714fe68846e0c40 /include/asm-powerpc/sstep.h | |
parent | 8423200553113cc031caa9b147f6150a8e26545c (diff) | |
download | talos-op-linux-8209003547c4b1006943eac8dc6c1fb6493cafda.tar.gz talos-op-linux-8209003547c4b1006943eac8dc6c1fb6493cafda.zip |
[POWERPC] Added kprobes support to ppc32
Added kprobes to ppc32 platforms that have use single_step_exception. This
excludes 4xx and anything Book-E since their debug mechanisms for single stepping
are completely different.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc/sstep.h')
-rw-r--r-- | include/asm-powerpc/sstep.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |