aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2009-11-26 23:37:52 -0500
committerMike Frysinger <vapier@gentoo.org>2009-12-15 00:15:50 -0500
commitd45e8db1b20c510a189d769d877af2e8e9df985f (patch)
treebca523fe1b4de0dedbbafb8136401c82211ee489 /arch/blackfin
parentc45c06596e0d45125d25beb0fe24a68aef1f1046 (diff)
Blackfin: drop 4KB reserve at end of memory
The point of this small chunk was to avoid anomaly 05000310. This never really seemed to do what it was intended though -- no valid CPLBs exist over the reserved memory, and there is often memory before it anyways (due to the uClinux MTD and/or reserved DMA region). Plus, it doesn't address the L1 instruction case. So drop this chunk as it wastes memory and is affront to humanity. Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/setup.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index a7ae73aafa1..95448ae9c43 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -601,11 +601,6 @@ static __init void memory_setup(void)
601 page_mask_order = get_order(3 * page_mask_nelts * sizeof(long)); 601 page_mask_order = get_order(3 * page_mask_nelts * sizeof(long));
602#endif 602#endif
603 603
604#if !defined(CONFIG_MTD_UCLINUX)
605 /*In case there is no valid CPLB behind memory_end make sure we don't get to close*/
606 memory_end -= SIZE_4K;
607#endif
608
609 init_mm.start_code = (unsigned long)_stext; 604 init_mm.start_code = (unsigned long)_stext;
610 init_mm.end_code = (unsigned long)_etext; 605 init_mm.end_code = (unsigned long)_etext;
611 init_mm.end_data = (unsigned long)_edata; 606 init_mm.end_data = (unsigned long)_edata;