Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18633
b: refs/heads/master
c: b142159
h: refs/heads/master
i:
  18631: f49e564
v: v3
  • Loading branch information
Yoichi Yuasa authored and Linus Torvalds committed Jan 17, 2006
1 parent 63f6504 commit 2014209
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 8f56a31ad616b13414cf764f620f75f45dac26e6
refs/heads/master: b142159fa5ffbad73b6927fafa5440148030f3f1
6 changes: 6 additions & 0 deletions trunk/arch/mips/kernel/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
#include <linux/reboot.h>
#include <asm/reboot.h>

void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);

/*
* Urgs ... Too many MIPS machines to handle this in a generic way.
* So handle all using function pointers to machine specific
Expand All @@ -33,6 +36,9 @@ void machine_halt(void)

void machine_power_off(void)
{
if (pm_power_off)
pm_power_off();

_machine_power_off();
}

0 comments on commit 2014209

Please sign in to comment.