Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d45e8db1 authored by Barry Song's avatar Barry Song Committed by Mike Frysinger
Browse files

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: default avatarBarry Song <barry.song@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent c45c0659
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -601,11 +601,6 @@ static __init void memory_setup(void)
	page_mask_order = get_order(3 * page_mask_nelts * sizeof(long));
#endif

#if !defined(CONFIG_MTD_UCLINUX)
	/*In case there is no valid CPLB behind memory_end make sure we don't get to close*/
	memory_end -= SIZE_4K;
#endif

	init_mm.start_code = (unsigned long)_stext;
	init_mm.end_code = (unsigned long)_etext;
	init_mm.end_data = (unsigned long)_edata;