lguest: fix crash lguest_time_init
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 16 Dec 2010 23:03:13 +0000 (17:03 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 16 Dec 2010 06:33:14 +0000 (17:03 +1030)
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

arch/x86/lguest/boot.c

index 73b1e1a1f4891708a8714570e36ce62b15ba6fc7..45e64b37b237c44db845c2ace52e1c9e199e1a15 100644 (file)
@@ -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);
 }
 
 /*