diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-10 15:53:40 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-10 15:53:40 +1100 |
commit | 49b09853df1a303876b82a6480efb2f7b45ef041 (patch) | |
tree | bf3d76ff0ddfe2e854f48ed890258ad89fa9c1dc /arch/powerpc/kernel/setup-common.c | |
parent | d3d2176a0bc696b5365ce0e8f82a29a521d85fd0 (diff) | |
download | kernel_samsung_smdk4412-49b09853df1a303876b82a6480efb2f7b45ef041.tar.gz kernel_samsung_smdk4412-49b09853df1a303876b82a6480efb2f7b45ef041.tar.bz2 kernel_samsung_smdk4412-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 06e4ef21562..bae4bff138f 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 */ |