diff options
author | CHIKAMA masaki <masaki.chikama@gmail.com> | 2008-06-05 22:46:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-06 11:29:11 -0700 |
commit | 879000f94442860e72c934f9e568989bc7fb8ec4 (patch) | |
tree | c6d9aa713735deb49503ca9c65edbc8d557f3a71 /drivers/char/vt.c | |
parent | 10732c35dff6c2e15e413e7806a7114a2faa0ecf (diff) | |
download | linux-879000f94442860e72c934f9e568989bc7fb8ec4.tar.gz linux-879000f94442860e72c934f9e568989bc7fb8ec4.tar.bz2 linux-879000f94442860e72c934f9e568989bc7fb8ec4.zip |
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 'drivers/char/vt.c')
0 files changed, 0 insertions, 0 deletions