diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-22 06:33:59 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 12:46:05 -0500 |
commit | 4d86dfbbda09b3c67bcaeb370f22a2cc7f39205b (patch) | |
tree | 689785c7e0cc853f52b55ba10d0546313c2335a9 /arch/arc/kernel/disasm.c | |
parent | e65ab5a875d9e8ad8ff37529c2ae844699fefad1 (diff) |
ARC: kprobes support
Origin port done by Rajeshwar Ranga
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Rajeshwar Ranga <rajeshwar.ranga@gmail.com>
Diffstat (limited to 'arch/arc/kernel/disasm.c')
-rw-r--r-- | arch/arc/kernel/disasm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arc/kernel/disasm.c b/arch/arc/kernel/disasm.c index 254d11a4f495..51bad8ff373b 100644 --- a/arch/arc/kernel/disasm.c +++ b/arch/arc/kernel/disasm.c | |||
@@ -497,9 +497,8 @@ void __kprobes set_reg(int reg, long val, struct pt_regs *regs, | |||
497 | * @pc +2/4/6 (ARCompact ISA allows free intermixing of 16/32 bit insns). | 497 | * @pc +2/4/6 (ARCompact ISA allows free intermixing of 16/32 bit insns). |
498 | * | 498 | * |
499 | * If @pc is a branch | 499 | * If @pc is a branch |
500 | * -@tgt_if_br is set to branch target. | 500 | * -@tgt_if_br is set to branch target. |
501 | * -If branch has delay slot, @next_pc updated with actual next PC. | 501 | * -If branch has delay slot, @next_pc updated with actual next PC. |
502 | * | ||
503 | */ | 502 | */ |
504 | int __kprobes disasm_next_pc(unsigned long pc, struct pt_regs *regs, | 503 | int __kprobes disasm_next_pc(unsigned long pc, struct pt_regs *regs, |
505 | struct callee_regs *cregs, | 504 | struct callee_regs *cregs, |