提交 cc52aea9 编写于 作者: S Sam Ravnborg 提交者: 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: NSam Ravnborg <sam@ravnborg.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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();
}
prom_build_devicetree();
of_fill_in_cpu_data();
device_scan();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册