diff options
Diffstat (limited to 'include/asm-m32r/bugs.h')
-rw-r--r-- | include/asm-m32r/bugs.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/asm-m32r/bugs.h b/include/asm-m32r/bugs.h new file mode 100644 index 0000000..9a56f66 --- /dev/null +++ b/include/asm-m32r/bugs.h @@ -0,0 +1,21 @@ +#ifndef _ASM_M32R_BUGS_H +#define _ASM_M32R_BUGS_H + +/* $Id$ */ + +/* + * This is included by init/main.c to check for architecture-dependent bugs. + * + * Needs: + * void check_bugs(void); + */ +#include <asm/processor.h> + +static void __init check_bugs(void) +{ + extern unsigned long loops_per_jiffy; + + current_cpu_data.loops_per_jiffy = loops_per_jiffy; +} + +#endif /* _ASM_M32R_BUGS_H */ |