bugs_64.c 403 B

123456789101112131415161718192021
  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. #if !defined(CONFIG_SMP)
  15. printk("CPU: ");
  16. print_cpu_info(&boot_cpu_data);
  17. #endif
  18. alternative_instructions();
  19. }