Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: [MIPS] 74K: Only use WAIT with interrupts disabled for core rev >= 2.1.0
  2007-07-06 15:17 ` [MIPS] 74K: Only use WAIT with interrupts disabled for core rev >= 2.1.0 Atsushi Nemoto
@ 2007-07-06 15:16   ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-07-06 15:16 UTC (permalink / raw)
  To: Atsushi Nemoto; +Cc: linux-mips

On Sat, Jul 07, 2007 at 12:17:18AM +0900, Atsushi Nemoto wrote:

> Isn't this needed?

Not strictly needed but definately useful.

Thanks,

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [MIPS] 74K: Only use WAIT with interrupts disabled for core rev >= 2.1.0
       [not found] <S20021769AbXGFOZl/20070706142541Z+11993@ftp.linux-mips.org>
@ 2007-07-06 15:17 ` Atsushi Nemoto
  2007-07-06 15:16   ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2007-07-06 15:17 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

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;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-06 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <S20021769AbXGFOZl/20070706142541Z+11993@ftp.linux-mips.org>
2007-07-06 15:17 ` [MIPS] 74K: Only use WAIT with interrupts disabled for core rev >= 2.1.0 Atsushi Nemoto
2007-07-06 15:16   ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox