aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/bugs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/bugs.h')
-rw-r--r--include/asm-mips/bugs.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/asm-mips/bugs.h b/include/asm-mips/bugs.h
new file mode 100644
index 000000000000..18cced19cca4
--- /dev/null
+++ b/include/asm-mips/bugs.h
@@ -0,0 +1,23 @@
1/*
2 * This is included by init/main.c to check for architecture-dependent bugs.
3 *
4 * Needs:
5 * void check_bugs(void);
6 */
7#ifndef _ASM_BUGS_H
8#define _ASM_BUGS_H
9
10#include <linux/config.h>
11
12extern void check_bugs32(void);
13extern void check_bugs64(void);
14
15static inline void check_bugs(void)
16{
17 check_bugs32();
18#ifdef CONFIG_MIPS64
19 check_bugs64();
20#endif
21}
22
23#endif /* _ASM_BUGS_H */