From f03da6e28ea2d20f1a8451869fd1c9ea9935022b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 13 Apr 2005 13:37:32 +0000 Subject: Fix BogoMIPS display on UP and some minor cosmetical things. Signed-off-by: Ralf Baechle --- include/asm-mips/bugs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/asm-mips/bugs.h') 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 @@ #define _ASM_BUGS_H #include +#include +#include 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(); -- cgit v1.2.2 From 38551576a35f1b48b6b359470d6e876c5b671ab6 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 13 Apr 2005 17:36:49 +0000 Subject: Build fix for certain configurations. Signed-off-by: Ralf Baechle --- include/asm-mips/bugs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/asm-mips/bugs.h') diff --git a/include/asm-mips/bugs.h b/include/asm-mips/bugs.h index 9247c1b4ce02..cb2ea7c15c7a 100644 --- a/include/asm-mips/bugs.h +++ b/include/asm-mips/bugs.h @@ -8,6 +8,7 @@ #define _ASM_BUGS_H #include +#include #include #include -- cgit v1.2.2