summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-05-30 11:14:08 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-23 15:05:30 -0700
commit3e8b966859c94b48e13e95c3f829743453451f72 (patch)
tree7e68eab310188bb68d2d9d8cf0a7c32f210350a9 /arch
parentcf29f916c310c9b13c19514b496700c549597e11 (diff)
lguest: fix timer interrupt setup
commit 15517f7c213442e4d8a098cf0732b237f764c576 upstream. Without an IRQ chip set, we now get a WARN_ON and no timer interrupt. This prevents booting. Fortunately, the fix is a one-liner: set up the timer IRQ like everything else. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/lguest/boot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index 1cd608973ce5..493ea1f5de4d 100644
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@ -995,6 +995,7 @@ static void lguest_time_irq(unsigned int irq, struct irq_desc *desc)
static void lguest_time_init(void)
{
/* Set up the timer interrupt (0) to go to our simple timer routine */
+ lguest_setup_irq(0);
irq_set_handler(0, lguest_time_irq);
clocksource_register(&lguest_clock);