mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	check_bugs() is about to be phased out. Switch over to the new arch_cpu_finalize_init() implementation. No functional change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230613224545.078124882@linutronix.de
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			323 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			323 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0
 | 
						|
#include <linux/init.h>
 | 
						|
#include <linux/cpu.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 arch_cpu_finalize_init(void)
 | 
						|
{
 | 
						|
	check_writebuffer_bugs();
 | 
						|
	check_other_bugs();
 | 
						|
}
 |