linux-mips
[Top] [All Lists]

Re: [MIPS] 74K: Only use WAIT with interrupts disabled for core rev >= 2

To: linux-mips@linux-mips.org
Subject: Re: [MIPS] 74K: Only use WAIT with interrupts disabled for core rev >= 2.1.0
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sat, 07 Jul 2007 00:17:18 +0900 (JST)
Cc: ralf@linux-mips.org
In-reply-to: <S20021769AbXGFOZl/20070706142541Z+11993@ftp.linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <S20021769AbXGFOZl/20070706142541Z+11993@ftp.linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
Isn't this needed?

diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 9a05f82..5a5bb3d 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -150,6 +150,7 @@ static inline void check_wait(void)
                break;
 
        case CPU_74K:
+               cpu_wait = r4k_wait;
                if ((c->processor_id & 0xff) >= PRID_REV_ENCODE_332(2, 1, 0))
                        cpu_wait = r4k_wait_irqoff;
                break;

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