projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5606014
)
sh64: Add a sane pm_power_off implementation.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 12 Sep 2006 05:40:09 +0000
(14:40 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 12 Sep 2006 05:40:09 +0000
(14:40 +0900)
sh64 wasn't providing a sensible pm_power_off(), add one,
and just wrap it to machine_power_off, which already does
the right thing.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh64/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/sh64/kernel/process.c
b/arch/sh64/kernel/process.c
index dba8e14013b6b9c2bc3166a4fcef97511cb78804..db475b7833fb86c97b77d70d8c45f9200905dfdf 100644
(file)
--- a/
arch/sh64/kernel/process.c
+++ b/
arch/sh64/kernel/process.c
@@
-355,6
+355,9
@@
void machine_power_off(void)
enter_deep_standby();
}
+void (*pm_power_off)(void) = machine_power_off;
+EXPORT_SYMBOL(pm_power_off);
+
void show_regs(struct pt_regs * regs)
{
unsigned long long ah, al, bh, bl, ch, cl;