[MIPS] Allow hardwiring of the CPU type to a single type for optimization.
This saves a few k on systems which only ever ship with a single CPU type. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -83,7 +83,7 @@ static int __init vr41xx_siu_add(void)
|
||||
if (!pdev)
|
||||
return -ENOMEM;
|
||||
|
||||
switch (current_cpu_data.cputype) {
|
||||
switch (current_cpu_type()) {
|
||||
case CPU_VR4111:
|
||||
case CPU_VR4121:
|
||||
pdev->dev.platform_data = siu_type1_ports;
|
||||
|
Reference in New Issue
Block a user