Merge git://git.infradead.org/battery-2.6
[pandora-kernel.git] / arch / mips / oprofile / common.c
index 4e0a90b..aa52aa1 100644 (file)
@@ -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: