Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78051
b: refs/heads/master
c: 167da46
h: refs/heads/master
i:
  78049: 9286582
  78047: c42d67d
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Jan 29, 2008
1 parent c7d2a98 commit 88ddb69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 71466dd477c7a67d188d1d8310c7016a88531a04
refs/heads/master: 167da469e521ec608f632137a63c827f175e2679
7 changes: 6 additions & 1 deletion trunk/arch/mips/cobalt/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include <linux/io.h>
#include <linux/leds.h>

#include <asm/processor.h>

#include <cobalt.h>

#define RESET_PORT ((void __iomem *)CKSEG1ADDR(0x1c000000))
Expand All @@ -34,7 +36,10 @@ void cobalt_machine_halt(void)
led_trigger_event(power_off_led_trigger, LED_FULL);

local_irq_disable();
while (1) ;
while (1) {
if (cpu_wait)
cpu_wait();
}
}

void cobalt_machine_restart(char *command)
Expand Down

0 comments on commit 88ddb69

Please sign in to comment.