kprobes: use do_IRQ() in lkdtm
authorM. Mohan Kumar <mohan@in.ibm.com>
Tue, 22 Sep 2009 23:43:29 +0000 (16:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:27 +0000 (07:39 -0700)
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>
drivers/misc/lkdtm.c

index 1bfe5d16963b9ece644b25c5bb81a411d2c1045f..3648b23d5c92bea5a7697b5a89e81f2cff85c9e6 100644 (file)
@@ -283,7 +283,7 @@ static int __init lkdtm_module_init(void)
 
        switch (cpoint) {
        case INT_HARDWARE_ENTRY:
-               lkdtm.kp.symbol_name = "__do_IRQ";
+               lkdtm.kp.symbol_name = "do_IRQ";
                lkdtm.entry = (kprobe_opcode_t*) jp_do_irq;
                break;
        case INT_HW_IRQ_EN: