diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2024-08-28 14:24:59 +0800 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-09-04 20:43:59 +0530 |
commit | 2b7ec33e534f7a10033a5cf07794acf48b182bbe (patch) | |
tree | cbbe99fea8ed53d7b6bbf4d5ed096a0c13ec09e3 /mm | |
parent | 5493f9714e4cdaf0ee7cec15899a231400cb1a9f (diff) |
cpufreq: loongson3: Use raw_smp_processor_id() in do_service_request()
Use raw_smp_processor_id() instead of plain smp_processor_id() in
do_service_request(), otherwise we may get some errors with the driver
enabled:
BUG: using smp_processor_id() in preemptible [00000000] code: (udev-worker)/208
caller is loongson3_cpufreq_probe+0x5c/0x250 [loongson3_cpufreq]
Reported-by: Xi Ruoyao <xry111@xry111.site>
Tested-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions