Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41381
b: refs/heads/master
c: c237923
h: refs/heads/master
i:
  41379: 67de2b6
v: v3
  • Loading branch information
Ralf Baechle committed Nov 30, 2006
1 parent 5b612d4 commit 72266f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 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: 5b10496b6e6577f65b032a5c4c97d0d3a841273c
refs/heads/master: c237923009da464881d89f4bc27c3b5b1a93d61b
19 changes: 3 additions & 16 deletions trunk/arch/mips/kernel/cpu-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,18 @@ static inline void check_wait(void)
{
struct cpuinfo_mips *c = &current_cpu_data;

printk("Checking for 'wait' instruction... ");
if (nowait) {
printk (" disabled.\n");
printk("Wait instruction disabled.\n");
return;
}

switch (c->cputype) {
case CPU_R3081:
case CPU_R3081E:
cpu_wait = r3081_wait;
printk(" available.\n");
break;
case CPU_TX3927:
cpu_wait = r39xx_wait;
printk(" available.\n");
break;
case CPU_R4200:
/* case CPU_R4300: */
Expand All @@ -146,33 +143,23 @@ static inline void check_wait(void)
case CPU_74K:
case CPU_PR4450:
cpu_wait = r4k_wait;
printk(" available.\n");
break;
case CPU_TX49XX:
cpu_wait = r4k_wait_irqoff;
printk(" available.\n");
break;
case CPU_AU1000:
case CPU_AU1100:
case CPU_AU1500:
case CPU_AU1550:
case CPU_AU1200:
if (allow_au1k_wait) {
if (allow_au1k_wait)
cpu_wait = au1k_wait;
printk(" available.\n");
} else
printk(" unavailable.\n");
break;
case CPU_RM9000:
if ((c->processor_id & 0x00ff) >= 0x40) {
if ((c->processor_id & 0x00ff) >= 0x40)
cpu_wait = r4k_wait;
printk(" available.\n");
} else {
printk(" unavailable.\n");
}
break;
default:
printk(" unavailable.\n");
break;
}
}
Expand Down

0 comments on commit 72266f3

Please sign in to comment.