Since do_bad_area() always takes the currently active task and (supposed to) take the currently active MM, there's no point passing them to this function. Instead, obtain references to them inside do_bad_area(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
		
			
				
	
	
		
			3 lines
		
	
	
	
		
			137 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
	
		
			137 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
 | 
						|
 | 
						|
unsigned long search_exception_table(unsigned long addr);
 |