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

From: Martin Schwidefsky
Date: Thu Jan 12 2006 - 12:16:09 EST


From: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

[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 <schwidefsky@xxxxxxxxxx>

---

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)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/