powernow-k7: Fix CPU family number
authorBen Hutchings <ben@decadent.org.uk>
Sat, 11 Feb 2012 22:58:14 +0000 (22:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 23:24:27 +0000 (15:24 -0800)
Commit fa8031aefec0cf7ea6c2387c93610d99d9659aa2 ('cpufreq: Add support
for x86 cpuinfo auto loading v4') seems to have inadvertently changed
the matched CPU family number from 6 to 7.  Change it back.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Thomas Renninger <trenn@suse.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cpufreq/powernow-k7.c

index 501d167368d2f22636d460ee7cf9f6b5973276c1..cf7e1ee005a24c3d964dc6f8f1fd43c7b2fc4a33 100644 (file)
@@ -112,7 +112,7 @@ static int check_fsb(unsigned int fsbspeed)
 }
 
 static const struct x86_cpu_id powernow_k7_cpuids[] = {
-       { X86_VENDOR_AMD, 7, },
+       { X86_VENDOR_AMD, 6, },
        {}
 };
 MODULE_DEVICE_TABLE(x86cpu, powernow_k7_cpuids);