Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11156
b: refs/heads/master
c: 55d04df
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 5ad8fa5 commit 0abcfb1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 569f75bd02d20043c4baf9fc38d937f37e7572b0
refs/heads/master: 55d04dff0fcf5d1c3f0d6edf6df86d82fa4c053b
16 changes: 16 additions & 0 deletions trunk/arch/mips/kernel/cpu-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,27 @@ static void au1k_wait(void)
: : "r" (au1k_wait));
}

static int __initdata nowait = 0;

int __init wait_disable(char *s)
{
nowait = 1;

return 1;
}

__setup("nowait", wait_disable);

static inline void check_wait(void)
{
struct cpuinfo_mips *c = &current_cpu_data;

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

switch (c->cputype) {
case CPU_R3081:
case CPU_R3081E:
Expand Down

0 comments on commit 0abcfb1

Please sign in to comment.