diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-02-07 07:55:19 +0300 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-02-07 07:55:19 +0300 |
commit | 8209003547c4b1006943eac8dc6c1fb6493cafda (patch) | |
tree | 37ed5742527d448f211c575fe714fe68846e0c40 /include/asm-powerpc/sstep.h | |
parent | 8423200553113cc031caa9b147f6150a8e26545c (diff) | |
download | linux-8209003547c4b1006943eac8dc6c1fb6493cafda.tar.xz |
[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); |