Russell King | a5b9177 | 2018-05-10 12:55:58 +0100 | [diff] [blame] | 1 | // SPDX-Identifier: GPL-2.0 |
2 | #include <linux/init.h> | ||||
3 | #include <asm/bugs.h> | ||||
4 | #include <asm/proc-fns.h> | ||||
5 | |||||
Russell King | 2660216 | 2018-05-10 13:00:43 +0100 | [diff] [blame] | 6 | void check_other_bugs(void) |
7 | { | ||||
Russell King | 9d3a049 | 2018-05-10 13:07:29 +0100 | [diff] [blame] | 8 | #ifdef MULTI_CPU |
Russell King | 945aceb | 2018-07-19 12:43:03 +0100 | [diff] [blame] | 9 | if (cpu_check_bugs) |
10 | cpu_check_bugs(); | ||||
Russell King | 9d3a049 | 2018-05-10 13:07:29 +0100 | [diff] [blame] | 11 | #endif |
Russell King | 2660216 | 2018-05-10 13:00:43 +0100 | [diff] [blame] | 12 | } |
13 | |||||
Russell King | a5b9177 | 2018-05-10 12:55:58 +0100 | [diff] [blame] | 14 | void __init check_bugs(void) |
15 | { | ||||
16 | check_writebuffer_bugs(); | ||||
Russell King | 2660216 | 2018-05-10 13:00:43 +0100 | [diff] [blame] | 17 | check_other_bugs(); |
Russell King | a5b9177 | 2018-05-10 12:55:58 +0100 | [diff] [blame] | 18 | } |