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>
This commit is contained in:
committed by
David S. Miller
parent
c966a337fa
commit
cc52aea9dc
@@ -291,19 +291,7 @@ extern void device_scan(void);
|
|||||||
|
|
||||||
void __init paging_init(void)
|
void __init paging_init(void)
|
||||||
{
|
{
|
||||||
switch(sparc_cpu_model) {
|
srmmu_paging_init();
|
||||||
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();
|
|
||||||
}
|
|
||||||
|
|
||||||
prom_build_devicetree();
|
prom_build_devicetree();
|
||||||
of_fill_in_cpu_data();
|
of_fill_in_cpu_data();
|
||||||
device_scan();
|
device_scan();
|
||||||
|
Reference in New Issue
Block a user