From: Dan Carpenter Date: Wed, 17 Apr 2013 07:18:28 +0000 (+0000) Subject: Thermal: cpufreq cooling: endian bug in cpufreq_get_max_state() X-Git-Tag: v3.10-rc1~42^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f89038f177462dbd2fd911297fd004226176db7;p=pandora-kernel.git 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 Signed-off-by: Zhang Rui --- Reading git-diff-tree failed