[PATCH] x86_64: Proper null pointer check in powernow_k8_get
authorJacob Shin <jacob.shin@amd.com>
Fri, 7 Apr 2006 17:49:51 +0000 (19:49 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 9 Apr 2006 18:53:51 +0000 (11:53 -0700)
commit4211a30349e8d2b724cfb4ce2584604f5e59c299
tree59fdb0b812156bbff2266cc51b22d9d608898ecf
parentd7fa706ce2c29cb751c15ca00f3aa7b223e3c9f0
[PATCH] 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.

Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c