Explorar o código

[PATCH] arch/i386/kernel/smpboot.c: remove unneeded ifdef

#ifdef CONFIG_SMP in a file which isn't compiled in non-SMP kernels.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andrew Morton %!s(int64=18) %!d(string=hai) anos
pai
achega
24d34dc564
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      arch/i386/kernel/smpboot.c

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

@@ -69,9 +69,7 @@ static int __devinitdata smp_b_stepping;
 
 
 /* Number of siblings per CPU package */
 /* Number of siblings per CPU package */
 int smp_num_siblings = 1;
 int smp_num_siblings = 1;
-#ifdef CONFIG_SMP
 EXPORT_SYMBOL(smp_num_siblings);
 EXPORT_SYMBOL(smp_num_siblings);
-#endif
 
 
 /* Last level cache ID of each logical CPU */
 /* Last level cache ID of each logical CPU */
 int cpu_llc_id[NR_CPUS] __cpuinitdata = {[0 ... NR_CPUS-1] = BAD_APICID};
 int cpu_llc_id[NR_CPUS] __cpuinitdata = {[0 ... NR_CPUS-1] = BAD_APICID};