David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | #include <linux/init.h> |
| 3 | #include <asm/bugs.h> |
| 4 | #include <asm/proc-fns.h> |
| 5 | |
| 6 | void check_other_bugs(void) |
| 7 | { |
| 8 | #ifdef MULTI_CPU |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 9 | if (cpu_check_bugs) |
| 10 | cpu_check_bugs(); |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 11 | #endif |
| 12 | } |
| 13 | |
| 14 | void __init check_bugs(void) |
| 15 | { |
| 16 | check_writebuffer_bugs(); |
| 17 | check_other_bugs(); |
| 18 | } |