From: Martin Schwidefsky Date: Sat, 14 Jan 2006 21:21:01 +0000 (-0800) Subject: [PATCH] s390: add dummy pm_power_off X-Git-Tag: v2.6.16-rc1~140 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53df751ccd0a404cca169dbd61bae571cc21559a;p=linux-2.6 [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 c08325187a..de87842674 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) {