mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	Call the per-processor type check_bugs() method in the same way as we do other per-processor functions - move the "processor." detail into proc-fns.h. Reviewed-by: Julien Thierry <julien.thierry@arm.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			280 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			280 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-Identifier: GPL-2.0
 | 
						|
#include <linux/init.h>
 | 
						|
#include <asm/bugs.h>
 | 
						|
#include <asm/proc-fns.h>
 | 
						|
 | 
						|
void check_other_bugs(void)
 | 
						|
{
 | 
						|
#ifdef MULTI_CPU
 | 
						|
	if (cpu_check_bugs)
 | 
						|
		cpu_check_bugs();
 | 
						|
#endif
 | 
						|
}
 | 
						|
 | 
						|
void __init check_bugs(void)
 | 
						|
{
 | 
						|
	check_writebuffer_bugs();
 | 
						|
	check_other_bugs();
 | 
						|
}
 |