aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/vr41xx/common/pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/vr41xx/common/pmu.c')
-rw-r--r--arch/mips/vr41xx/common/pmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/vr41xx/common/pmu.c b/arch/mips/vr41xx/common/pmu.c
index ad5b6db53396..028aaf75eb21 100644
--- a/arch/mips/vr41xx/common/pmu.c
+++ b/arch/mips/vr41xx/common/pmu.c
@@ -62,7 +62,7 @@ static inline void software_reset(void)
62{ 62{
63 uint16_t pmucnt2; 63 uint16_t pmucnt2;
64 64
65 switch (current_cpu_data.cputype) { 65 switch (current_cpu_type()) {
66 case CPU_VR4122: 66 case CPU_VR4122:
67 case CPU_VR4131: 67 case CPU_VR4131:
68 case CPU_VR4133: 68 case CPU_VR4133:
@@ -98,7 +98,7 @@ static int __init vr41xx_pmu_init(void)
98{ 98{
99 unsigned long start, size; 99 unsigned long start, size;
100 100
101 switch (current_cpu_data.cputype) { 101 switch (current_cpu_type()) {
102 case CPU_VR4111: 102 case CPU_VR4111:
103 case CPU_VR4121: 103 case CPU_VR4121:
104 start = PMU_TYPE1_BASE; 104 start = PMU_TYPE1_BASE;