]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kernel/smpboot.c
x86: compile error fix for smpboot.c
[~andy/linux] / arch / x86 / kernel / smpboot.c
index bf08334874559bc933b69290c59c79eae1f53edd..bc1e1257e5158feadca9ae4aa207270c74f8180e 100644 (file)
@@ -816,6 +816,7 @@ static void __cpuinit do_fork_idle(struct work_struct *work)
        complete(&c_idle->done);
 }
 
+#ifdef CONFIG_X86_64
 /*
  * Allocate node local memory for the AP pda.
  *
@@ -852,6 +853,7 @@ static int __cpuinit get_local_pda(int cpu)
        cpu_pda(cpu) = newpda;
        return 0;
 }
+#endif /* CONFIG_X86_64 */
 
 static int __cpuinit do_boot_cpu(int apicid, int cpu)
 /*