mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
ca976c53de
commit
f58f2fa928
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ static int __init lkdtm_module_init(void)
|
||||||
|
|
||||||
switch (cpoint) {
|
switch (cpoint) {
|
||||||
case INT_HARDWARE_ENTRY:
|
case INT_HARDWARE_ENTRY:
|
||||||
lkdtm.kp.symbol_name = "__do_IRQ";
|
lkdtm.kp.symbol_name = "do_IRQ";
|
||||||
lkdtm.entry = (kprobe_opcode_t*) jp_do_irq;
|
lkdtm.entry = (kprobe_opcode_t*) jp_do_irq;
|
||||||
break;
|
break;
|
||||||
case INT_HW_IRQ_EN:
|
case INT_HW_IRQ_EN:
|
||||||
|
|
Loading…
Reference in a new issue