From: Rusty Russell Date: Mon, 30 May 2011 17:14:08 +0000 (-0600) Subject: lguest: fix timer interrupt setup X-Git-Tag: 2.1b_release~3808^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15517f7c213442e4d8a098cf0732b237f764c576;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git lguest: fix timer interrupt setup 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 Cc: stable@kernel.org # .39.x --- diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c index e191c09..db832fd 100644 --- a/arch/x86/lguest/boot.c +++ b/arch/x86/lguest/boot.c @@ -993,6 +993,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_hz(&lguest_clock, NSEC_PER_SEC);