]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/mm/tlb-r8k.c
Merge branches 'pxa-core' and 'pxa-machines' into pxa-all
[linux-2.6-omap-h63xx.git] / arch / mips / mm / tlb-r8k.c
index 1bfb09198ce378ce4a45bc300fad743ed0cfe4bf..4f01a3be215cf142434fbe91fbaf3edee0a6884f 100644 (file)
@@ -8,7 +8,6 @@
  * Carsten Langgaard, carstenl@mips.com
  * Copyright (C) 2002 MIPS Technologies, Inc.  All rights reserved.
  */
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/sched.h>
 #include <linux/mm.h>
@@ -57,7 +56,7 @@ void local_flush_tlb_mm(struct mm_struct *mm)
        int cpu = smp_processor_id();
 
        if (cpu_context(cpu, mm) != 0)
-               drop_mmu_context(mm,cpu);
+               drop_mmu_context(mm, cpu);
 }
 
 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
@@ -215,14 +214,14 @@ void __update_tlb(struct vm_area_struct * vma, unsigned long address, pte_t pte)
        local_irq_restore(flags);
 }
 
-static void __init probe_tlb(unsigned long config)
+static void __cpuinit probe_tlb(unsigned long config)
 {
        struct cpuinfo_mips *c = &current_cpu_data;
 
        c->tlbsize = 3 * 128;           /* 3 sets each 128 entries */
 }
 
-void __init tlb_init(void)
+void __cpuinit tlb_init(void)
 {
        unsigned int config = read_c0_config();
        unsigned long status;