[PATCH] s390: add dummy pm_power_off
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Sat, 14 Jan 2006 21:21:01 +0000 (13:21 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Jan 2006 02:27:09 +0000 (18:27 -0800)
Define a dummy pm_power_off pointer to make sys_reboot happy.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/s390/kernel/setup.c

index c08325187a46b42df01732e2648b3dc376b33d9d..de8784267473a1c16a3922005b5ec50ece22df3d 100644 (file)
@@ -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)
 {