summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorCHIKAMA masaki <masaki.chikama@gmail.com>2008-06-06 09:46:33 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-06 22:29:11 +0400
commit879000f94442860e72c934f9e568989bc7fb8ec4 (patch)
treec6d9aa713735deb49503ca9c65edbc8d557f3a71 /include/linux
parent10732c35dff6c2e15e413e7806a7114a2faa0ecf (diff)
downloadlinux-879000f94442860e72c934f9e568989bc7fb8ec4.tar.xz
cpufreq: fix null object access on Transmeta CPU
If cpu specific cpufreq driver(i.e. longrun) has "setpolicy" function, governor object isn't set into cpufreq_policy object at "__cpufreq_set_policy" function in driver/cpufreq/cpufreq.c . This causes a null object access at "store_scaling_setspeed" and "show_scaling_setspeed" function in driver/cpufreq/cpufreq.c when reading or writing through /sys interface (ex. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed) Addresses: http://bugzilla.kernel.org/show_bug.cgi?id=10654 https://bugzilla.redhat.com/show_bug.cgi?id=443354 Signed-off-by: CHIKAMA Masaki <masaki.chikama@gmail.com> Cc: Dave Jones <davej@codemonkey.org.uk> Cc: Chuck Ebbert <cebbert@redhat.com> Acked-by: Dominik Brodowski <linux@dominikbrodowski.net> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions