2006-01-12 17:17:30

by Martin Schwidefsky

[permalink] [raw]
Subject: [patch 9/13] s390: add dummy pm_power_off.

From: Martin Schwidefsky <[email protected]>

[patch 9/13] s390: add dummy pm_power_off.

Define a dummy pm_power_off pointer to make sys_reboot happy.

Signed-off-by: Martin Schwidefsky <[email protected]>

---

arch/s390/kernel/setup.c | 5 +++++
1 files changed, 5 insertions(+)

diff -urpN linux-2.6/arch/s390/kernel/setup.c linux-2.6-patched/arch/s390/kernel/setup.c
--- linux-2.6/arch/s390/kernel/setup.c 2006-01-12 15:43:58.000000000 +0100
+++ linux-2.6-patched/arch/s390/kernel/setup.c 2006-01-12 15:43:59.000000000 +0100
@@ -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)
{