[PATCH] s390: add dummy pm_power_off
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>
This commit is contained in:
parent
0152fb3760
commit
53df751ccd
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue