bugs.c 431 B

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