This makes the "OF" zImage wrapper (zImage.pseries, zImage.pmac, zImage.maple) work if booted via a flat device-tree (ePAPR boot mode), and thus potentially usable with kexec. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			292 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			292 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
extern void epapr_platform_init(unsigned long r3, unsigned long r4,
 | 
						|
				unsigned long r5, unsigned long r6,
 | 
						|
				unsigned long r7);
 | 
						|
 | 
						|
void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
 | 
						|
		   unsigned long r6, unsigned long r7)
 | 
						|
{
 | 
						|
	epapr_platform_init(r3, r4, r5, r6, r7);
 | 
						|
}
 |