Skip to content

Commit d45e8db

Browse files
Barry Songvapier
authored andcommitted
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>
1 parent c45c065 commit d45e8db

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎arch/blackfin/kernel/setup.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -601,11 +601,6 @@ static __init void memory_setup(void)
601601
page_mask_order = get_order(3 * page_mask_nelts * sizeof(long));
602602
#endif
603603

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-
609604
init_mm.start_code = (unsigned long)_stext;
610605
init_mm.end_code = (unsigned long)_etext;
611606
init_mm.end_data = (unsigned long)_edata;

0 commit comments

Comments
 (0)