blob: 14c8dbbb7d2dfd7a0143d941224152a326982d7f [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001// SPDX-License-Identifier: GPL-2.0
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002#include <linux/init.h>
3#include <asm/bugs.h>
4#include <asm/proc-fns.h>
5
6void check_other_bugs(void)
7{
8#ifdef MULTI_CPU
David Brazdil0f672f62019-12-10 10:32:29 +00009 if (cpu_check_bugs)
10 cpu_check_bugs();
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000011#endif
12}
13
14void __init check_bugs(void)
15{
16 check_writebuffer_bugs();
17 check_other_bugs();
18}