linux-mips
[Top] [All Lists]

[PATCH] qemu: do not enable IP7 blindly

To: linux-mips@linux-mips.org
Subject: [PATCH] qemu: do not enable IP7 blindly
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri, 23 Nov 2007 00:44:06 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
IP7 will be enabled automatically in mips_clockevent_init(), if it was
available.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
diff --git a/arch/mips/qemu/q-irq.c b/arch/mips/qemu/q-irq.c
index 11f9847..7df36db 100644
--- a/arch/mips/qemu/q-irq.c
+++ b/arch/mips/qemu/q-irq.c
@@ -33,5 +33,5 @@ void __init arch_init_irq(void)
 
        mips_cpu_irq_init();
        init_i8259_irqs();
-       set_c0_status(0x8400);
+       set_c0_status(0x400);
 }

<Prev in Thread] Current Thread [Next in Thread>