x86: fix cpu MHz reporting for AMD family 0x11
authorAndreas Herrmann3 <andreas.herrmann3@amd.com>
Wed, 30 Jan 2008 12:33:35 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:35 +0000 (13:33 +0100)
commit519efbc0b3b6004a3b98d66a446bce30852c8171
tree98cf48fb98c5dfe799a0d67960ac7a5c4ff85c05
parentcd7d72bb27a8c7502a602bdc299f1bb0a9357975
x86: fix cpu MHz reporting for AMD family 0x11

Fix cpu MHz reporting for AMD family 0x11 when powernow-k8 is
disabled.

Just adhere to the CONSTANT_TSC feature bit for AMD CPUs when deciding
whether cpu_khz needs calibration. The additional check for CPU family
is not needed and prevents calibration for future CPUs.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/time_64.c