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 <hans@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			128 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			128 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef __ASM_S390_SUSPEND_H
 | 
						|
#define __ASM_S390_SUSPEND_H
 | 
						|
 | 
						|
static inline int arch_prepare_suspend(void)
 | 
						|
{
 | 
						|
	return 0;
 | 
						|
}
 | 
						|
 | 
						|
#endif
 | 
						|
 |