From: Paul Mundt Date: Tue, 12 Sep 2006 05:40:09 +0000 (+0900) Subject: sh64: Add a sane pm_power_off implementation. X-Git-Tag: v3.12-rc1~33658^2~27^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bb99a649af92e53ed7391afaf6c2d45a6f57b42;p=kernel%2Fkernel-generic.git 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 --- diff --git a/arch/sh64/kernel/process.c b/arch/sh64/kernel/process.c index dba8e14..db475b7 100644 --- 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;