summaryrefslogtreecommitdiff
path: root/arch/x86/lguest
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-12-17 02:03:13 +0300
committerRusty Russell <rusty@rustcorp.com.au>2010-12-16 09:33:14 +0300
commitbb6f1d9a99f1947d91693de62ed54ac3bf1e2dfe (patch)
treed65336471dba6eba42413630603d0202ec64dd40 /arch/x86/lguest
parentb0c3844d8af6b9f3f18f31e1b0502fbefa2166be (diff)
downloadlinux-bb6f1d9a99f1947d91693de62ed54ac3bf1e2dfe.tar.xz
lguest: fix crash lguest_time_init
fe25c7fc2e "x86: lguest: Convert to new irq chip functions" converted enable_lguest_irq() to take a struct irq_data *, but didn't fix the one internal caller. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> To: x86@kernel.org
Diffstat (limited to 'arch/x86/lguest')
-rw-r--r--arch/x86/lguest/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index 73b1e1a1f489..45e64b37b237 100644
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@ -1002,7 +1002,7 @@ static void lguest_time_init(void)
clockevents_register_device(&lguest_clockevent);
/* Finally, we unblock the timer interrupt. */
- enable_lguest_irq(0);
+ clear_bit(0, lguest_data.blocked_interrupts);
}
/*