[PATCH] um: irq changes break build

Fixup broken UML build due to 7d12e780e0
"IRQ: Maintain regs pointer globally rather than passing to IRQ handlers".

Cc: David Howells <dhowells@redhat.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Paolo "Blaisorblade" Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Pekka Enberg 2006-10-06 00:44:06 -07:00 committed by Linus Torvalds
parent c6b0a9f87b
commit 96e1a87392
2 changed files with 2 additions and 1 deletions

View file

@ -356,7 +356,7 @@ void forward_interrupts(int pid)
unsigned int do_IRQ(int irq, union uml_pt_regs *regs) unsigned int do_IRQ(int irq, union uml_pt_regs *regs)
{ {
irq_enter(); irq_enter();
__do_IRQ(irq, (struct pt_regs *)regs); __do_IRQ(irq);
irq_exit(); irq_exit();
return 1; return 1;
} }

View file

@ -0,0 +1 @@
#include <asm-generic/irq_regs.h>