瀏覽代碼

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
Rusty Russell 14 年之前
父節點
當前提交
bb6f1d9a99
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86/lguest/boot.c

+ 1 - 1
arch/x86/lguest/boot.c

@@ -1002,7 +1002,7 @@ static void lguest_time_init(void)
 	clockevents_register_device(&lguest_clockevent);
 	clockevents_register_device(&lguest_clockevent);
 
 
 	/* Finally, we unblock the timer interrupt. */
 	/* Finally, we unblock the timer interrupt. */
-	enable_lguest_irq(0);
+	clear_bit(0, lguest_data.blocked_interrupts);
 }
 }
 
 
 /*
 /*