diff options
Diffstat (limited to 'arch/mips/mm/loadmmu.c')
-rw-r--r-- | arch/mips/mm/loadmmu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/mm/loadmmu.c b/arch/mips/mm/loadmmu.c index 748b9945f..ef7b4c3e1 100644 --- a/arch/mips/mm/loadmmu.c +++ b/arch/mips/mm/loadmmu.c @@ -9,10 +9,11 @@ #include <linux/sched.h> #include <linux/mm.h> +#include <asm/bootinfo.h> +#include <asm/cpu.h> #include <asm/page.h> #include <asm/pgtable.h> #include <asm/system.h> -#include <asm/bootinfo.h> /* memory functions */ void (*_clear_page)(void * page); @@ -45,7 +46,7 @@ extern void ld_mmu_andes(void); void __init loadmmu(void) { - switch(mips_cputype) { + switch (mips_cpu.cputype) { #ifdef CONFIG_CPU_R3000 case CPU_R2000: case CPU_R3000: |