]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/kernel/setup-common.c
[PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel
[~andy/linux] / arch / powerpc / kernel / setup-common.c
index a754de63450f03f6e89fe483d3ada8d424403b81..33e7f2c7f194b6e28324dad030acf64da7ab032b 100644 (file)
@@ -33,7 +33,7 @@
 #include <asm/io.h>
 #include <asm/prom.h>
 #include <asm/processor.h>
-#include <asm/systemcfg.h>
+#include <asm/vdso_datapage.h>
 #include <asm/pgtable.h>
 #include <asm/smp.h>
 #include <asm/elf.h>
@@ -564,7 +564,7 @@ void __init smp_setup_cpu_maps(void)
                        cpu_set(cpu ^ 0x1, cpu_sibling_map[cpu]);
        }
 
-       _systemcfg->processorCount = num_present_cpus();
+       vdso_data->processorCount = num_present_cpus();
 #endif /* CONFIG_PPC64 */
 }
 #endif /* CONFIG_SMP */