projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0152fb3
)
[PATCH] s390: add dummy pm_power_off
author
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Sat, 14 Jan 2006 21:21:01 +0000
(13:21 -0800)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/kernel/setup.c
b/arch/s390/kernel/setup.c
index c08325187a46b42df01732e2648b3dc376b33d9d..de8784267473a1c16a3922005b5ec50ece22df3d 100644
(file)
--- 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)
{