Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101458
b: refs/heads/master
c: 9ecb1ff
h: refs/heads/master
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Jul 15, 2008
1 parent 24ac511 commit 0c42a50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: 5b438c44082d9f09fed10f3621fe8d5c93d3676d
refs/heads/master: 9ecb1ff1b295a515b21d0ac83d8bd39b07335aab
9 changes: 4 additions & 5 deletions trunk/arch/mips/gt64120/wrppmc/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
*
* Copyright (C) 1997 Ralf Baechle
*/
#include <linux/irqflags.h>
#include <linux/kernel.h>

#include <asm/cacheflush.h>
#include <asm/mipsregs.h>
#include <asm/processor.h>

void wrppmc_machine_restart(char *command)
{
Expand All @@ -32,11 +34,8 @@ void wrppmc_machine_halt(void)

printk(KERN_NOTICE "You can safely turn off the power\n");
while (1) {
__asm__(
".set\tmips3\n\t"
"wait\n\t"
".set\tmips0"
);
if (cpu_wait)
cpu_wait();
}
}

Expand Down

0 comments on commit 0c42a50

Please sign in to comment.