[prev in list] [next in list] [prev in thread] [next in thread]
List: git-commits-head
Subject: lguest: fix timer interrupt setup
From: Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date: 2011-05-31 21:59:02
Message-ID: 201105312159.p4VLx2rO012792 () hera ! kernel ! org
[Download RAW message or body]
Gitweb: http://git.kernel.org/linus/15517f7c213442e4d8a098cf0732b237f764c576
Commit: 15517f7c213442e4d8a098cf0732b237f764c576
Parent: 55922c9d1b84b89cb946c777fddccb3247e7df2c
Author: Rusty Russell <rusty@rustcorp.com.au>
AuthorDate: Mon May 30 11:14:08 2011 -0600
Committer: Rusty Russell <rusty@rustcorp.com.au>
CommitDate: Mon May 30 11:14:10 2011 +0930
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 <rusty@rustcorp.com.au>
Cc: stable@kernel.org # .39.x
---
arch/x86/lguest/boot.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic