From 155af2f95f905c830688dd0ca7c7cac4107334fd Mon Sep 17 00:00:00 2001 From: Hans-Joachim Picht Date: Tue, 16 Jun 2009 10:30:52 +0200 Subject: [S390] s390: hibernation support for s390 This patch introduces the hibernation backend support to the s390 architecture. Now it is possible to suspend a mainframe Linux guest using the following command: echo disk > /sys/power/state Signed-off-by: Hans-Joachim Picht Signed-off-by: Martin Schwidefsky --- arch/s390/power/swsusp_64.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 arch/s390/power/swsusp_64.c (limited to 'arch/s390/power/swsusp_64.c') diff --git a/arch/s390/power/swsusp_64.c b/arch/s390/power/swsusp_64.c new file mode 100644 index 000000000000..9516a517d72f --- /dev/null +++ b/arch/s390/power/swsusp_64.c @@ -0,0 +1,17 @@ +/* + * Support for suspend and resume on s390 + * + * Copyright IBM Corp. 2009 + * + * Author(s): Hans-Joachim Picht + * + */ + +#include +#include + +void do_after_copyback(void) +{ + mb(); +} + -- cgit v1.2.2