diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-12 01:40:09 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-12 01:40:09 -0400 |
commit | 1bb99a649af92e53ed7391afaf6c2d45a6f57b42 (patch) | |
tree | 404174b4804732b0f5cf08df12302f6bb6938364 /arch/sh64/kernel/process.c | |
parent | 56060141482d0a9351ea02e2aa7153de8cd41423 (diff) |
sh64: Add a sane pm_power_off implementation.
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>
Diffstat (limited to 'arch/sh64/kernel/process.c')
-rw-r--r-- | arch/sh64/kernel/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh64/kernel/process.c b/arch/sh64/kernel/process.c index dba8e14013b6..db475b7833fb 100644 --- a/arch/sh64/kernel/process.c +++ b/arch/sh64/kernel/process.c | |||
@@ -355,6 +355,9 @@ void machine_power_off(void) | |||
355 | enter_deep_standby(); | 355 | enter_deep_standby(); |
356 | } | 356 | } |
357 | 357 | ||
358 | void (*pm_power_off)(void) = machine_power_off; | ||
359 | EXPORT_SYMBOL(pm_power_off); | ||
360 | |||
358 | void show_regs(struct pt_regs * regs) | 361 | void show_regs(struct pt_regs * regs) |
359 | { | 362 | { |
360 | unsigned long long ah, al, bh, bl, ch, cl; | 363 | unsigned long long ah, al, bh, bl, ch, cl; |