]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/misc/lkdtm.c
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
[net-next-2.6.git] / drivers / misc / lkdtm.c
index e689ee94ac3da71450c7d03c66feda8457fe14f8..bbdba7b37e11e1c9d1a12f6b316de8b4f5e414ea 100644 (file)
@@ -127,15 +127,14 @@ module_param(cpoint_count, int, 06444);
 MODULE_PARM_DESC(cpoint_count, "Crash Point Count, number of times the \
                                crash point is to be hit to trigger action");
 
-unsigned int jp_do_irq(unsigned int irq, struct pt_regs *regs)
+unsigned int jp_do_irq(unsigned int irq)
 {
        lkdtm_handler();
        jprobe_return();
        return 0;
 }
 
-irqreturn_t jp_handle_irq_event(unsigned int irq, struct pt_regs *regs,
-                       struct irqaction *action)
+irqreturn_t jp_handle_irq_event(unsigned int irq, struct irqaction *action)
 {
        lkdtm_handler();
        jprobe_return();