ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-mips / bugs.h
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
12 extern void check_bugs32(void);
13 extern void check_bugs64(void);
14
15 static 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 */