diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-10 07:53:40 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-10 07:53:40 +0300 |
commit | 49b09853df1a303876b82a6480efb2f7b45ef041 (patch) | |
tree | bf3d76ff0ddfe2e854f48ed890258ad89fa9c1dc /arch/powerpc/platforms/iseries | |
parent | d3d2176a0bc696b5365ce0e8f82a29a521d85fd0 (diff) | |
download | linux-49b09853df1a303876b82a6480efb2f7b45ef041.tar.xz |
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 @@ #include <asm/iommu.h> #include <asm/firmware.h> #include <asm/systemcfg.h> - +#include <asm/system.h> #include <asm/time.h> #include <asm/paca.h> #include <asm/cache.h> @@ -85,7 +85,6 @@ static void iSeries_pci_final_fixup(void) { } int piranha_simulator; extern int rd_size; /* Defined in drivers/block/rd.c */ -extern unsigned long klimit; extern unsigned long embedded_sysmap_start; extern unsigned long embedded_sysmap_end; |