Move shutdown and reboot related code to a separate file, out of process.c. This helps to avoid polluting process.c with non-process related code. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			177 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			177 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef REBOOT_H
 | 
						|
#define REBOOT_H
 | 
						|
 | 
						|
extern void call_with_stack(void (*fn)(void *), void *arg, void *sp);
 | 
						|
extern void _soft_restart(unsigned long addr, bool disable_l2);
 | 
						|
 | 
						|
#endif
 |