diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-08-29 19:36:49 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-08-30 08:57:15 +0200 |
commit | 77e844b9644026c11c5883144540155de39af767 (patch) | |
tree | 704f30cb7e9a30ade37e20c0f0bc9688f05ac0b0 /arch/s390/kernel/suspend.c | |
parent | s390/pci: add recover sysfs knob (diff) | |
download | linux-77e844b9644026c11c5883144540155de39af767.tar.xz linux-77e844b9644026c11c5883144540155de39af767.zip |
s390/hibernate: add early resume function
Some functions that do arch specific resume actions are called
directly from swsusp_asm64.S . Before we add another function call
provide a generic s390_early_resume function which can be used
for this purpose.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/suspend.c')
-rw-r--r-- | arch/s390/kernel/suspend.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/s390/kernel/suspend.c b/arch/s390/kernel/suspend.c index c479d2f9605b..eebab9f83f1d 100644 --- a/arch/s390/kernel/suspend.c +++ b/arch/s390/kernel/suspend.c @@ -10,6 +10,8 @@ #include <linux/suspend.h> #include <linux/mm.h> #include <asm/ctl_reg.h> +#include <asm/ipl.h> +#include <asm/cio.h> /* * References to section boundaries @@ -211,3 +213,10 @@ void restore_processor_state(void) __ctl_set_bit(0,28); local_mcck_enable(); } + +/* Called at the end of swsusp_arch_resume */ +void s390_early_resume(void) +{ + lgr_info_log(); + channel_subsystem_reinit(); +} |