blob: 18cced19cca430ed6a5c666ffe5008089fe847a2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 */