projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4f0f12
)
[CPUFREQ] Silence powernow-k8 warning on k7's.
author
Dave Jones
<davej@redhat.com>
Tue, 28 Feb 2006 05:36:32 +0000
(
00:36
-0500)
committer
Dave Jones
<davej@redhat.com>
Tue, 28 Feb 2006 05:36:32 +0000
(
00:36
-0500)
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
index e11a09207ec89cc74c236ed7efa2fbd5059da8ca..3b3a94987d10d9c394bb1db923cca930bafa317c 100644
(file)
--- a/
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+++ b/
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
@@
-474,8
+474,10
@@
static int check_supported_cpu(unsigned int cpu)
goto out;
eax = cpuid_eax(CPUID_PROCESSOR_SIGNATURE);
+ if ((eax & CPUID_XFAM) != CPUID_XFAM_K8)
+ goto out;
+
if (((eax & CPUID_USE_XFAM_XMOD) != CPUID_USE_XFAM_XMOD) ||
- ((eax & CPUID_XFAM) != CPUID_XFAM_K8) ||
((eax & CPUID_XMOD) > CPUID_XMOD_REV_G)) {
printk(KERN_INFO PFX "Processor cpuid %x not supported\n", eax);
goto out;