summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/suspend.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-08-29 19:40:01 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-08-30 08:57:20 +0200
commit57b5918c33a0797930c3791fb602a8a9d46ef80c (patch)
tree47e3a5b503e8551f130fb722fbf1ae281e6ed292 /arch/s390/kernel/suspend.c
parentd03abe5882cc4815bf98c0e01a1deafa4a5d6730 (diff)
downloadop-kernel-dev-57b5918c33a0797930c3791fb602a8a9d46ef80c.zip
op-kernel-dev-57b5918c33a0797930c3791fb602a8a9d46ef80c.tar.gz
s390/pci: update function handle after resume from hibernate
Function handles may change while the system was in hibernation use list pci functions and update the function handles. 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/suspend.c b/arch/s390/kernel/suspend.c
index eebab9f..737bff3 100644
--- a/arch/s390/kernel/suspend.c
+++ b/arch/s390/kernel/suspend.c
@@ -12,6 +12,7 @@
#include <asm/ctl_reg.h>
#include <asm/ipl.h>
#include <asm/cio.h>
+#include <asm/pci.h>
/*
* References to section boundaries
@@ -219,4 +220,5 @@ void s390_early_resume(void)
{
lgr_info_log();
channel_subsystem_reinit();
+ zpci_rescan();
}
OpenPOWER on IntegriCloud