diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-11 15:04:40 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-11 15:04:40 +0300 |
commit | 271c3f35bd36613513e2c2cc90dc914a84df116e (patch) | |
tree | 44cb3338aa51be48123211426ad039016ef81902 /arch/powerpc/platforms/pseries/smp.c | |
parent | 548ccebc2a79c780724529948c79de0613f96776 (diff) | |
download | linux-271c3f35bd36613513e2c2cc90dc914a84df116e.tar.xz |
powerpc: Fix some compile problems with the VDSO stuff
We needed the VDSO symbols in the arch/ppc asm-offsets.c, and there
were a few usages of _systemcfg still left lying around.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/smp.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/smp.c b/arch/powerpc/platforms/pseries/smp.c index 3ba794ca3288..5800cde7d5ad 100644 --- a/arch/powerpc/platforms/pseries/smp.c +++ b/arch/powerpc/platforms/pseries/smp.c @@ -46,7 +46,7 @@ #include <asm/rtas.h> #include <asm/pSeries_reconfig.h> #include <asm/mpic.h> -#include <asm/systemcfg.h> +#include <asm/vdso_datapage.h> #include "plpar_wrappers.h" @@ -97,7 +97,7 @@ int pSeries_cpu_disable(void) int cpu = smp_processor_id(); cpu_clear(cpu, cpu_online_map); - _systemcfg->processorCount--; + vdso_data->processorCount--; /*fix boot_cpuid here*/ if (cpu == boot_cpuid) |