From 53df751ccd0a404cca169dbd61bae571cc21559a Mon Sep 17 00:00:00 2001 From: Martin Schwidefsky Date: Sat, 14 Jan 2006 13:21:01 -0800 Subject: [PATCH] [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 --- arch/s390/kernel/setup.c | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.39.5