Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powernow-k7: Fix CPU family number

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>

authored by

Ben Hutchings and committed by
Greg Kroah-Hartman
30bcfff9 e668505c

+1 -1
+1 -1
drivers/cpufreq/powernow-k7.c
··· 112 112 } 113 113 114 114 static const struct x86_cpu_id powernow_k7_cpuids[] = { 115 - { X86_VENDOR_AMD, 7, }, 115 + { X86_VENDOR_AMD, 6, }, 116 116 {} 117 117 }; 118 118 MODULE_DEVICE_TABLE(x86cpu, powernow_k7_cpuids);