[PATCH] CRIS update: SMP
[linux-2.6.git] / arch / cris / arch-v10 / mm / init.c
index a9f975a9cfb54957ec5ed08a8495953170d68abb..ff3481e76dd47c368566267660033f4de19726d9 100644 (file)
@@ -42,7 +42,7 @@ paging_init(void)
         *  switch_mm)
         */
 
         *  switch_mm)
         */
 
-       current_pgd = init_mm.pgd;
+       per_cpu(current_pgd, smp_processor_id()) = init_mm.pgd;
 
        /* initialise the TLB (tlb.c) */
 
 
        /* initialise the TLB (tlb.c) */