aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-11-09 23:53:40 -0500
committerPaul Mackerras <paulus@samba.org>2005-11-09 23:53:40 -0500
commit49b09853df1a303876b82a6480efb2f7b45ef041 (patch)
treebf3d76ff0ddfe2e854f48ed890258ad89fa9c1dc /arch/powerpc/kernel/setup-common.c
parentd3d2176a0bc696b5365ce0e8f82a29a521d85fd0 (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/kernel/setup-common.c')
-rw-r--r--arch/powerpc/kernel/setup-common.c2
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;
69EXPORT_SYMBOL(_machine); 69EXPORT_SYMBOL(_machine);
70#endif 70#endif
71 71
72unsigned long klimit = (unsigned long) _end;
73
72/* 74/*
73 * This still seems to be needed... -- paulus 75 * This still seems to be needed... -- paulus
74 */ 76 */