bugs_64.c 420 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (C) 1994 Linus Torvalds
  3. * Copyright (C) 2000 SuSE
  4. */
  5. #include <linux/kernel.h>
  6. #include <linux/init.h>
  7. #include <asm/alternative.h>
  8. #include <asm/bugs.h>
  9. #include <asm/processor.h>
  10. #include <asm/mtrr.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. }