From: Rusty Russell <rusty@rustcorp.com.au>
Date: Thu, 16 Dec 2010 23:03:13 +0000 (-0600)
Subject: lguest: fix crash lguest_time_init
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb6f1d9a99f1947d91693de62ed54ac3bf1e2dfe;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

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
---

diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index 73b1e1a1f48..45e64b37b23 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);
 }
 
 /*