diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-09 23:53:40 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-09 23:53:40 -0500 |
commit | 49b09853df1a303876b82a6480efb2f7b45ef041 (patch) | |
tree | bf3d76ff0ddfe2e854f48ed890258ad89fa9c1dc /arch/powerpc/platforms/iseries | |
parent | d3d2176a0bc696b5365ce0e8f82a29a521d85fd0 (diff) |
powerpc: Move some extern declarations from C code into headers
This also make klimit have the same type on 32-bit as on 64-bit,
namely unsigned long, and defines and initializes it in one place.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/iseries')
-rw-r--r-- | arch/powerpc/platforms/iseries/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c index 623c39aa0436..1f338341d8f2 100644 --- a/arch/powerpc/platforms/iseries/setup.c +++ b/arch/powerpc/platforms/iseries/setup.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <asm/iommu.h> | 40 | #include <asm/iommu.h> |
41 | #include <asm/firmware.h> | 41 | #include <asm/firmware.h> |
42 | #include <asm/systemcfg.h> | 42 | #include <asm/systemcfg.h> |
43 | 43 | #include <asm/system.h> | |
44 | #include <asm/time.h> | 44 | #include <asm/time.h> |
45 | #include <asm/paca.h> | 45 | #include <asm/paca.h> |
46 | #include <asm/cache.h> | 46 | #include <asm/cache.h> |
@@ -85,7 +85,6 @@ static void iSeries_pci_final_fixup(void) { } | |||
85 | int piranha_simulator; | 85 | int piranha_simulator; |
86 | 86 | ||
87 | extern int rd_size; /* Defined in drivers/block/rd.c */ | 87 | extern int rd_size; /* Defined in drivers/block/rd.c */ |
88 | extern unsigned long klimit; | ||
89 | extern unsigned long embedded_sysmap_start; | 88 | extern unsigned long embedded_sysmap_start; |
90 | extern unsigned long embedded_sysmap_end; | 89 | extern unsigned long embedded_sysmap_end; |
91 | 90 | ||