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 /arch | |
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 'arch')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/smp.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index ce2966e9eb5a..21ef82de8c5b 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <linux/ptrace.h> | 17 | #include <linux/ptrace.h> |
18 | #include <linux/stddef.h> | 18 | #include <linux/stddef.h> |
19 | 19 | ||
20 | #include <asm/bugs.h> | ||
21 | #include <asm/cpu.h> | 20 | #include <asm/cpu.h> |
22 | #include <asm/fpu.h> | 21 | #include <asm/fpu.h> |
23 | #include <asm/mipsregs.h> | 22 | #include <asm/mipsregs.h> |
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c index d1828ef5ffd6..25762917e822 100644 --- a/arch/mips/kernel/smp.c +++ b/arch/mips/kernel/smp.c | |||
@@ -226,7 +226,6 @@ void __init smp_cpus_done(unsigned int max_cpus) | |||
226 | /* called from main before smp_init() */ | 226 | /* called from main before smp_init() */ |
227 | void __init smp_prepare_cpus(unsigned int max_cpus) | 227 | void __init smp_prepare_cpus(unsigned int max_cpus) |
228 | { | 228 | { |
229 | cpu_data[0].udelay_val = loops_per_jiffy; | ||
230 | init_new_context(current, &init_mm); | 229 | init_new_context(current, &init_mm); |
231 | current_thread_info()->cpu = 0; | 230 | current_thread_info()->cpu = 0; |
232 | smp_tune_scheduling(); | 231 | smp_tune_scheduling(); |