1/* 2 * arch/x86_64/kernel/bugs.c 3 * 4 * Copyright (C) 1994 Linus Torvalds 5 * Copyright (C) 2000 SuSE 6 */ 7 8#include <linux/kernel.h> 9#include <linux/init.h> 10#include <asm/alternative.h> 11#include <asm/processor.h> 12#include <asm/mtrr.h> 13 14void __init check_bugs(void) 15{ 16 identify_cpu(&boot_cpu_data); 17 mtrr_bp_init(); 18#if !defined(CONFIG_SMP) 19 printk("CPU: "); 20 print_cpu_info(&boot_cpu_data); 21#endif 22 alternative_instructions(); 23} 24