diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-22 18:31:40 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-22 18:31:40 +0000 |
commit | dc91613ed65a1549d9ca21bf489c3f55f34f2dd6 (patch) | |
tree | f9880ba42e57d38c5c12da697e36bfe2b413889a /arch/mips64/kernel/smp.c | |
parent | e107a626e4dd3fbcac5e5e63cafd3d7c1470dfe4 (diff) |
Per cpu tlbpid (asid) management for SMP. The asid cache is now per
cpu, and stays in cpu_data[].
Diffstat (limited to 'arch/mips64/kernel/smp.c')
-rw-r--r-- | arch/mips64/kernel/smp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips64/kernel/smp.c b/arch/mips64/kernel/smp.c index 963d57379..9507f2342 100644 --- a/arch/mips64/kernel/smp.c +++ b/arch/mips64/kernel/smp.c @@ -11,6 +11,7 @@ #include <asm/system.h> #include <asm/hardirq.h> #include <asm/softirq.h> +#include <asm/mmu_context.h> #ifdef CONFIG_SGI_IP27 @@ -68,12 +69,14 @@ static void smp_tune_scheduling (void) void __init smp_boot_cpus(void) { extern void allowboot(void); + extern int maxcpus; + init_new_context(current, &init_mm); global_irq_holder = 0; current->processor = 0; init_idle(); smp_tune_scheduling(); - smp_num_cpus = 1; /* for now */ + smp_num_cpus = 1; /* maxcpus; */ allowboot(); } |