]> err.no Git - linux-2.6/blobdiff - arch/powerpc/kernel/lparcfg.c
powerpc: Fix some compile problems with the VDSO stuff
[linux-2.6] / arch / powerpc / kernel / lparcfg.c
index e45ce48ec12642bc972c9fa57142ef21135166cd..1b3ba8a440a6095b9ded96f591814badde7de552 100644 (file)
@@ -35,7 +35,7 @@
 #include <asm/time.h>
 #include <asm/iseries/it_exp_vpd_panel.h>
 #include <asm/prom.h>
-#include <asm/systemcfg.h>
+#include <asm/vdso_datapage.h>
 
 #define MODULE_VERS "1.6"
 #define MODULE_NAME "lparcfg"
@@ -369,7 +369,7 @@ static int lparcfg_data(struct seq_file *m, void *v)
        lrdrp = (int *)get_property(rtas_node, "ibm,lrdr-capacity", NULL);
 
        if (lrdrp == NULL) {
-               partition_potential_processors = _systemcfg->processorCount;
+               partition_potential_processors = vdso_data->processorCount;
        } else {
                partition_potential_processors = *(lrdrp + 4);
        }