浏览代码

x86: remove ifdef from stepping

The stepping won't affect x86_64, since there are not x86_64 k7's
or pentiums. So, although it adds to the binary size, remove the ifdef
for smoother integration

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Glauber Costa 17 年之前
父节点
当前提交
86e430edf4
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      arch/x86/kernel/smpboot.c

+ 0 - 2
arch/x86/kernel/smpboot.c

@@ -351,7 +351,6 @@ static void __cpuinit start_secondary(void *unused)
 
 
 static void __cpuinit smp_apply_quirks(struct cpuinfo_x86 *c)
 static void __cpuinit smp_apply_quirks(struct cpuinfo_x86 *c)
 {
 {
-#ifdef CONFIG_X86_32
 	/*
 	/*
 	 * Mask B, Pentium, but not Pentium MMX
 	 * Mask B, Pentium, but not Pentium MMX
 	 */
 	 */
@@ -401,7 +400,6 @@ static void __cpuinit smp_apply_quirks(struct cpuinfo_x86 *c)
 
 
 valid_k7:
 valid_k7:
 	;
 	;
-#endif
 }
 }
 
 
 static void __cpuinit smp_checks(void)
 static void __cpuinit smp_checks(void)