diff --git a/arch/um/kernel/irq.c b/arch/um/kernel/irq.c index eee97bb81ba54c3bd2d47acc5e94c17baf38ed95..7c41dabe7a2c3a3982d20fa89c4aa73882e3f0d0 100644 --- a/arch/um/kernel/irq.c +++ b/arch/um/kernel/irq.c @@ -356,7 +356,7 @@ void forward_interrupts(int pid) unsigned int do_IRQ(int irq, union uml_pt_regs *regs) { irq_enter(); - __do_IRQ(irq, (struct pt_regs *)regs); + __do_IRQ(irq); irq_exit(); return 1; } diff --git a/include/asm-um/irq_regs.h b/include/asm-um/irq_regs.h new file mode 100644 index 0000000000000000000000000000000000000000..3dd9c0b702704abfe23c0b8085f0fd84dcd3f5d5 --- /dev/null +++ b/include/asm-um/irq_regs.h @@ -0,0 +1 @@ +#include