summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-04-17 07:18:28 (GMT)
committerZhang Rui <rui.zhang@intel.com>2013-04-17 15:43:31 (GMT)
commit4f89038f177462dbd2fd911297fd004226176db7 (patch)
tree5b5fef33500baa34c4c5d7fba795c4f79c850676 /init
parentd13cb03aef0c062dcdd16b411bd4c02c1574ff08 (diff)
downloadlinux-4f89038f177462dbd2fd911297fd004226176db7.tar.xz
Thermal: cpufreq cooling: endian bug in cpufreq_get_max_state()
This code doesn't work on big endian systems because we're storing low values in the high bits of the unsigned long. It makes it a very high value instead. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions