blob: b14b961c2100c4394305023f0621c50caf3fef31 [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();
Ralf Baechle875d43e2005-09-03 15:56:16 -070018#ifdef CONFIG_64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070019 check_bugs64();
20#endif
21}
22
23#endif /* _ASM_BUGS_H */