diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-07-26 11:02:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-26 16:46:16 -0700 |
commit | cc52aea9dcd284c5d575cb8aed9752fc1bf52537 (patch) | |
tree | 0eca24cad81d1e3593d4d02bc99e990388a65f55 /arch | |
parent | c966a337fade515052121e6c3c32f38b463d5205 (diff) |
sparc32: drop sparc model check in paging_init
We already check the model in head_32.S so no need to
repeat the check here
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/mm/init_32.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c index fc77bb8b576d..6dce086a2edb 100644 --- a/arch/sparc/mm/init_32.c +++ b/arch/sparc/mm/init_32.c @@ -291,19 +291,7 @@ extern void device_scan(void); void __init paging_init(void) { - switch(sparc_cpu_model) { - case sparc_leon: - case sun4m: - case sun4d: - srmmu_paging_init(); - break; - default: - prom_printf("paging_init: Cannot init paging on this Sparc\n"); - prom_printf("paging_init: sparc_cpu_model = %d\n", sparc_cpu_model); - prom_printf("paging_init: Halting...\n"); - prom_halt(); - } - + srmmu_paging_init(); prom_build_devicetree(); of_fill_in_cpu_data(); device_scan(); |