diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/setup.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index 173bdc55113b..a5ebd03ecbd1 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c | |||
@@ -879,7 +879,6 @@ static void __init amd_detect_cmp(struct cpuinfo_x86 *c) | |||
879 | static int __init init_amd(struct cpuinfo_x86 *c) | 879 | static int __init init_amd(struct cpuinfo_x86 *c) |
880 | { | 880 | { |
881 | int r; | 881 | int r; |
882 | int level; | ||
883 | 882 | ||
884 | #ifdef CONFIG_SMP | 883 | #ifdef CONFIG_SMP |
885 | unsigned long value; | 884 | unsigned long value; |
@@ -902,11 +901,6 @@ static int __init init_amd(struct cpuinfo_x86 *c) | |||
902 | 3DNow is IDd by bit 31 in extended CPUID (1*32+31) anyway */ | 901 | 3DNow is IDd by bit 31 in extended CPUID (1*32+31) anyway */ |
903 | clear_bit(0*32+31, &c->x86_capability); | 902 | clear_bit(0*32+31, &c->x86_capability); |
904 | 903 | ||
905 | /* C-stepping K8? */ | ||
906 | level = cpuid_eax(1); | ||
907 | if ((level >= 0x0f48 && level < 0x0f50) || level >= 0x0f58) | ||
908 | set_bit(X86_FEATURE_K8_C, &c->x86_capability); | ||
909 | |||
910 | r = get_model_name(c); | 904 | r = get_model_name(c); |
911 | if (!r) { | 905 | if (!r) { |
912 | switch (c->x86) { | 906 | switch (c->x86) { |