diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-04-13 09:37:32 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:05 -0400 |
commit | f03da6e28ea2d20f1a8451869fd1c9ea9935022b (patch) | |
tree | 09a2e8041c2d4e1dcf9d35990caef9677db12218 /include/asm-mips/bugs.h | |
parent | 589391a0fe229573439994b3be2cc9377722cf3d (diff) |
Fix BogoMIPS display on UP and some minor cosmetical things.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/bugs.h')
-rw-r--r-- | include/asm-mips/bugs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-mips/bugs.h b/include/asm-mips/bugs.h index b14b961c2100..9247c1b4ce02 100644 --- a/include/asm-mips/bugs.h +++ b/include/asm-mips/bugs.h | |||
@@ -8,12 +8,17 @@ | |||
8 | #define _ASM_BUGS_H | 8 | #define _ASM_BUGS_H |
9 | 9 | ||
10 | #include <linux/config.h> | 10 | #include <linux/config.h> |
11 | #include <asm/cpu.h> | ||
12 | #include <asm/cpu-info.h> | ||
11 | 13 | ||
12 | extern void check_bugs32(void); | 14 | extern void check_bugs32(void); |
13 | extern void check_bugs64(void); | 15 | extern void check_bugs64(void); |
14 | 16 | ||
15 | static inline void check_bugs(void) | 17 | static inline void check_bugs(void) |
16 | { | 18 | { |
19 | unsigned int cpu = smp_processor_id(); | ||
20 | |||
21 | cpu_data[cpu].udelay_val = loops_per_jiffy; | ||
17 | check_bugs32(); | 22 | check_bugs32(); |
18 | #ifdef CONFIG_64BIT | 23 | #ifdef CONFIG_64BIT |
19 | check_bugs64(); | 24 | check_bugs64(); |