| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 */ | ||||