diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-10 05:53:40 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-10 05:53:40 +0100 |
commit | 49b09853df1a303876b82a6480efb2f7b45ef041 (patch) | |
tree | bf3d76ff0ddfe2e854f48ed890258ad89fa9c1dc /arch/powerpc/kernel/setup-common.c | |
parent | [PATCH] powerpc: Move more ppc64 files with no ppc32 equivalent to powerpc (diff) | |
download | linux-49b09853df1a303876b82a6480efb2f7b45ef041.tar.xz linux-49b09853df1a303876b82a6480efb2f7b45ef041.zip |
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/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 06e4ef215627..bae4bff138f1 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c @@ -69,6 +69,8 @@ int _machine = 0; EXPORT_SYMBOL(_machine); #endif +unsigned long klimit = (unsigned long) _end; + /* * This still seems to be needed... -- paulus */ |