Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19887
b: refs/heads/master
c: 9414d36
h: refs/heads/master
i:
  19885: f53b95b
  19883: c080eba
  19879: ea0115e
  19871: 3b2f7e0
v: v3
  • Loading branch information
Ralf Baechle committed Feb 7, 2006
1 parent e7a3097 commit 420f77c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: a3305a8835ed039363822523a3cac24e990083dc
refs/heads/master: 9414d3628abb646834965b6c23b8e9064729b110
10 changes: 6 additions & 4 deletions trunk/arch/mips/kernel/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@ void (*_machine_power_off)(void);

void machine_restart(char *command)
{
_machine_restart(command);
if (_machine_restart)
_machine_restart(command);
}

void machine_halt(void)
{
_machine_halt();
if (_machine_halt)
_machine_halt();
}

void machine_power_off(void)
{
_machine_power_off();
if (_machine_power_off)
_machine_power_off();
}

0 comments on commit 420f77c

Please sign in to comment.