Fix BogoMIPS display on UP and some minor cosmetical things.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle
2005-04-13 13:37:32 +00:00
parent 589391a0fe
commit f03da6e28e
4 changed files with 5 additions and 8 deletions
+5
View File
@@ -8,12 +8,17 @@
#define _ASM_BUGS_H
#include <linux/config.h>
#include <asm/cpu.h>
#include <asm/cpu-info.h>
extern void check_bugs32(void);
extern void check_bugs64(void);
static inline void check_bugs(void)
{
unsigned int cpu = smp_processor_id();
cpu_data[cpu].udelay_val = loops_per_jiffy;
check_bugs32();
#ifdef CONFIG_64BIT
check_bugs64();