| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_M32R_BUGS_H |
| 2 | #define _ASM_M32R_BUGS_H | ||||
| 3 | |||||
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | /* |
| 5 | * This is included by init/main.c to check for architecture-dependent bugs. | ||||
| 6 | * | ||||
| 7 | * Needs: | ||||
| 8 | * void check_bugs(void); | ||||
| 9 | */ | ||||
| 10 | #include <asm/processor.h> | ||||
| 11 | |||||
| 12 | static void __init check_bugs(void) | ||||
| 13 | { | ||||
| 14 | extern unsigned long loops_per_jiffy; | ||||
| 15 | |||||
| 16 | current_cpu_data.loops_per_jiffy = loops_per_jiffy; | ||||
| 17 | } | ||||
| 18 | |||||
| 19 | #endif /* _ASM_M32R_BUGS_H */ | ||||