diff options
author | M. Mohan Kumar <mohan@in.ibm.com> | 2009-09-22 19:43:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:27 -0400 |
commit | f58f2fa9286db0ce9124ca9986d56aa5420b7f59 (patch) | |
tree | 5157013d48d77a69f9dfe80f6fdca818320ba647 /drivers/misc | |
parent | ca976c53de0c33160083d36f70bd18d7970f6969 (diff) |
kprobes: use do_IRQ() in lkdtm
Current lkdtm code puts a probe on __do_IRQ for some of the kdump test
cases. Since __do_IRQ is deprecated, change lkdtm code to use do_IRQ
function.
Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
Cc: Ankita Garg <ankita@in.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/lkdtm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/lkdtm.c b/drivers/misc/lkdtm.c index 1bfe5d16963..3648b23d5c9 100644 --- a/drivers/misc/lkdtm.c +++ b/drivers/misc/lkdtm.c | |||
@@ -283,7 +283,7 @@ static int __init lkdtm_module_init(void) | |||
283 | 283 | ||
284 | switch (cpoint) { | 284 | switch (cpoint) { |
285 | case INT_HARDWARE_ENTRY: | 285 | case INT_HARDWARE_ENTRY: |
286 | lkdtm.kp.symbol_name = "__do_IRQ"; | 286 | lkdtm.kp.symbol_name = "do_IRQ"; |
287 | lkdtm.entry = (kprobe_opcode_t*) jp_do_irq; | 287 | lkdtm.entry = (kprobe_opcode_t*) jp_do_irq; |
288 | break; | 288 | break; |
289 | case INT_HW_IRQ_EN: | 289 | case INT_HW_IRQ_EN: |