blob: d41d3598e5e541115c08f9b81b26fd187a7fe7af [file] [log] [blame]
Russell Kinga5b91772018-05-10 12:55:58 +01001// SPDX-Identifier: GPL-2.0
2#include <linux/init.h>
3#include <asm/bugs.h>
4#include <asm/proc-fns.h>
5
Russell King26602162018-05-10 13:00:43 +01006void check_other_bugs(void)
7{
Russell King9d3a0492018-05-10 13:07:29 +01008#ifdef MULTI_CPU
Russell King945aceb2018-07-19 12:43:03 +01009 if (cpu_check_bugs)
10 cpu_check_bugs();
Russell King9d3a0492018-05-10 13:07:29 +010011#endif
Russell King26602162018-05-10 13:00:43 +010012}
13
Russell Kinga5b91772018-05-10 12:55:58 +010014void __init check_bugs(void)
15{
16 check_writebuffer_bugs();
Russell King26602162018-05-10 13:00:43 +010017 check_other_bugs();
Russell Kinga5b91772018-05-10 12:55:58 +010018}