bugs.c 323 B

12345678910111213141516171819
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <linux/init.h>
  3. #include <linux/cpu.h>
  4. #include <asm/bugs.h>
  5. #include <asm/proc-fns.h>
  6. void check_other_bugs(void)
  7. {
  8. #ifdef MULTI_CPU
  9. if (cpu_check_bugs)
  10. cpu_check_bugs();
  11. #endif
  12. }
  13. void __init arch_cpu_finalize_init(void)
  14. {
  15. check_writebuffer_bugs();
  16. check_other_bugs();
  17. }