]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/x86_64/kernel/bugs.c
x86_64: Add asm/mtrr.h include for some builds
[karo-tx-linux.git] / arch / x86_64 / kernel / bugs.c
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
14 void __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 }