diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-11 07:04:40 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-11 07:04:40 -0500 |
commit | 271c3f35bd36613513e2c2cc90dc914a84df116e (patch) | |
tree | 44cb3338aa51be48123211426ad039016ef81902 /arch/powerpc/kernel | |
parent | 548ccebc2a79c780724529948c79de0613f96776 (diff) |
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/kernel')
-rw-r--r-- | arch/powerpc/kernel/lparcfg.c | 4 | ||||
-rw-r--r-- | arch/powerpc/kernel/vdso32/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/lparcfg.c b/arch/powerpc/kernel/lparcfg.c index e45ce48ec126..1b3ba8a440a6 100644 --- a/arch/powerpc/kernel/lparcfg.c +++ b/arch/powerpc/kernel/lparcfg.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/time.h> | 35 | #include <asm/time.h> |
36 | #include <asm/iseries/it_exp_vpd_panel.h> | 36 | #include <asm/iseries/it_exp_vpd_panel.h> |
37 | #include <asm/prom.h> | 37 | #include <asm/prom.h> |
38 | #include <asm/systemcfg.h> | 38 | #include <asm/vdso_datapage.h> |
39 | 39 | ||
40 | #define MODULE_VERS "1.6" | 40 | #define MODULE_VERS "1.6" |
41 | #define MODULE_NAME "lparcfg" | 41 | #define MODULE_NAME "lparcfg" |
@@ -369,7 +369,7 @@ static int lparcfg_data(struct seq_file *m, void *v) | |||
369 | lrdrp = (int *)get_property(rtas_node, "ibm,lrdr-capacity", NULL); | 369 | lrdrp = (int *)get_property(rtas_node, "ibm,lrdr-capacity", NULL); |
370 | 370 | ||
371 | if (lrdrp == NULL) { | 371 | if (lrdrp == NULL) { |
372 | partition_potential_processors = _systemcfg->processorCount; | 372 | partition_potential_processors = vdso_data->processorCount; |
373 | } else { | 373 | } else { |
374 | partition_potential_processors = *(lrdrp + 4); | 374 | partition_potential_processors = *(lrdrp + 4); |
375 | } | 375 | } |
diff --git a/arch/powerpc/kernel/vdso32/Makefile b/arch/powerpc/kernel/vdso32/Makefile index 758331d4d1a5..8a3bed5f143a 100644 --- a/arch/powerpc/kernel/vdso32/Makefile +++ b/arch/powerpc/kernel/vdso32/Makefile | |||
@@ -19,7 +19,7 @@ EXTRA_AFLAGS := -D__VDSO32__ -s | |||
19 | 19 | ||
20 | obj-y += vdso32_wrapper.o | 20 | obj-y += vdso32_wrapper.o |
21 | extra-y += vdso32.lds | 21 | extra-y += vdso32.lds |
22 | CPPFLAGS_vdso32.lds += -P -C -U$(ARCH) | 22 | CPPFLAGS_vdso32.lds += -P -C -Upowerpc |
23 | 23 | ||
24 | # Force dependency (incbin is bad) | 24 | # Force dependency (incbin is bad) |
25 | $(obj)/vdso32_wrapper.o : $(obj)/vdso32.so | 25 | $(obj)/vdso32_wrapper.o : $(obj)/vdso32.so |