Commit cc52aea9 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

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: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c966a337
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment