Skip to content

Commit

Permalink
[PATCH] s390: add dummy pm_power_off
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Schwidefsky authored and Linus Torvalds committed Jan 15, 2006
1 parent 0152fb3 commit 53df751
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/s390/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 53df751

Please sign in to comment.