diff --git a/drivers/devfreq/rockchip_dmc.c b/drivers/devfreq/rockchip_dmc.c index 5eda7b59b47f..b10c6305adc9 100644 --- a/drivers/devfreq/rockchip_dmc.c +++ b/drivers/devfreq/rockchip_dmc.c @@ -1353,7 +1353,7 @@ static int rockchip_dmcfreq_target(struct device *dev, unsigned long *freq, * Go to specified cpufreq and block other cpufreq changes since * set_rate needs to complete during vblank. */ - cpu_cur = smp_processor_id(); + cpu_cur = raw_smp_processor_id(); policy = cpufreq_cpu_get(cpu_cur); if (!policy) { dev_err(dev, "cpu%d policy NULL\n", cpu_cur);