Commit de2feaab authored by Tang Jinyang's avatar Tang Jinyang Committed by guzitao
Browse files

sw64: fix get_cpu_freq() bug

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I56QDM



--------------------------------

The cpu_desc.frequency used to be unmodified in the presence of
CPU frequency scaling, and get_cpu_freq() always return initial
value. It has to maintain a constant correlation to the target
frequency.

Signed-off-by: default avatarTang Jinyang <tangjinyang@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent c4cf7641
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment