From: Martin Schwidefsky Date: Sat, 14 Jan 2006 21:21:01 +0000 (-0800) Subject: [PATCH] s390: add dummy pm_power_off X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=53df751ccd0a404cca169dbd61bae571cc21559a;p=openwrt%2Fstaging%2Fblogic.git [PATCH] s390: add dummy pm_power_off Define a dummy pm_power_off pointer to make sys_reboot happy. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index c08325187a46..de8784267473 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c @@ -315,6 +315,11 @@ void machine_power_off(void) _machine_power_off(); } +/* + * Dummy power off function. + */ +void (*pm_power_off)(void) = machine_power_off; + static void __init add_memory_hole(unsigned long start, unsigned long end) {