[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:
@@ -74,7 +74,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
|
||||
struct op_mips_model *lmodel = NULL;
|
||||
int res;
|
||||
|
||||
switch (current_cpu_data.cputype) {
|
||||
switch (current_cpu_type()) {
|
||||
case CPU_5KC:
|
||||
case CPU_20KC:
|
||||
case CPU_24K:
|
||||
|
Reference in New Issue
Block a user