diff options
author | jacob.shin@amd.com <jacob.shin@amd.com> | 2006-04-07 17:49:51 (GMT) |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-04-10 23:14:33 (GMT) |
commit | 530515a06f90c0831732709efee4a99497bd2b7c (patch) | |
tree | 791d8e7e54e0000d8b4bce057894036162fed3c0 /include/linux/i2c.h | |
parent | b40fc4923ee3352c44ac2c0bd5f4d6018d6c4ad7 (diff) | |
download | linux-fsl-qoriq-530515a06f90c0831732709efee4a99497bd2b7c.tar.xz |
[CPUFREQ] x86_64: Proper null pointer check in powernow_k8_get
This prevents crashes on dual core system when enough ticks are lost.
Replaces earlier patch by me.
(Duplicate null data check in powernowk8_get() removed -- davej)
arch/i386/kernel/cpu/cpufreq/powernow-k8.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/i2c.h')
0 files changed, 0 insertions, 0 deletions