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