summaryrefslogtreecommitdiffstats
path: root/arch/m68k/mm
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-08-23 15:42:36 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-10-18 14:22:26 +1000
commit7a79a80f50a9c7f76b257a3a55dd6a055e6893cf (patch)
tree7e172d7252adbbdc29d3e3ef00ed644cb488b105 /arch/m68k/mm
parent3998bfbf310fd3efa19b9b2d420773157ee1d1b2 (diff)
downloadop-kernel-dev-7a79a80f50a9c7f76b257a3a55dd6a055e6893cf.zip
op-kernel-dev-7a79a80f50a9c7f76b257a3a55dd6a055e6893cf.tar.gz
m68knommu: create common externs for _ram* vars
Create common extern definitions of _rambase, _ramstart and _ramend instead of them being externed when used in code. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/mm')
-rw-r--r--arch/m68k/mm/init_no.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/m68k/mm/init_no.c b/arch/m68k/mm/init_no.c
index 3cf5a50..1e33d39 100644
--- a/arch/m68k/mm/init_no.c
+++ b/arch/m68k/mm/init_no.c
@@ -76,7 +76,6 @@ void __init mem_init(void)
{
int codek = 0, datak = 0, initk = 0;
unsigned long tmp;
- extern unsigned int _ramend, _rambase;
unsigned long len = _ramend - _rambase;
unsigned long start_mem = memory_start; /* DAVIDM - these must start at end of kernel */
unsigned long end_mem = memory_end; /* DAVIDM - this must not include kernel stack at top */
OpenPOWER on IntegriCloud