bugs.c 453 Bytes
Newer Older
1
2
3
4
5
6
7
8
/*
 *  arch/x86_64/kernel/bugs.c
 *
 *  Copyright (C) 1994  Linus Torvalds
 *  Copyright (C) 2000  SuSE
 */

#include <linux/kernel.h>
9
#include <linux/init.h>
10
#include <asm/alternative.h>
11
#include <asm/bugs.h>
12
#include <asm/processor.h>
13
#include <asm/mtrr.h>
14
15
16
17

void __init check_bugs(void)
{
	identify_cpu(&boot_cpu_data);
18
	mtrr_bp_init();
19
20
21
22
23
24
#if !defined(CONFIG_SMP)
	printk("CPU: ");
	print_cpu_info(&boot_cpu_data);
#endif
	alternative_instructions();
}