bugs.c 409 B

12345678910111213141516171819202122
  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. void __init check_bugs(void)
  12. {
  13. identify_cpu(&boot_cpu_data);
  14. mtrr_bp_init();
  15. #if !defined(CONFIG_SMP)
  16. printk("CPU: ");
  17. print_cpu_info(&boot_cpu_data);
  18. #endif
  19. alternative_instructions();
  20. }