Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58236
b: refs/heads/master
c: 4b3e975
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Jul 6, 2007
1 parent 7356e83 commit ab2c9c6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fde97822a295da9dffa4af643b49a58ffc4516ad
refs/heads/master: 4b3e975e4a06f1710693c5aa51b8f98facfa9863
15 changes: 13 additions & 2 deletions trunk/arch/mips/kernel/cpu-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,24 @@ static inline void check_wait(void)
case CPU_4KEC:
case CPU_4KSC:
case CPU_5KC:
case CPU_24K:
case CPU_25KF:
case CPU_PR4450:
cpu_wait = r4k_wait;
break;

case CPU_24K:
case CPU_34K:
cpu_wait = r4k_wait;
if (read_c0_config7() & MIPS_CONF7_WII)
cpu_wait = r4k_wait_irqoff;
break;

case CPU_74K:
case CPU_PR4450:
cpu_wait = r4k_wait;
if ((c->processor_id & 0xff) >= PRID_REV_ENCODE_332(2, 1, 0))
cpu_wait = r4k_wait_irqoff;
break;

case CPU_TX49XX:
cpu_wait = r4k_wait_irqoff;
break;
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-mips/mipsregs.h
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@
#define MIPS_CONF3_LPA (_ULCAST_(1) << 7)
#define MIPS_CONF3_DSP (_ULCAST_(1) << 10)

#define MIPS_CONF7_WII (_ULCAST_(1) << 31)

/*
* Bits in the MIPS32/64 coprocessor 1 (FPU) revision register.
*/
Expand Down

0 comments on commit ab2c9c6

Please sign in to comment.