2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/arch/blackfin/mm
Sonic Zhang 46284cd6bf Blackfin: merge kernel init memory back into main memory region
If the kernel's init section is merged back into the main memory region
during boot (which it should since that is how we've laid out the kernel
linker map), we want to make sure that these aren't counted as independent
regions.  Otherwise, if a large mapping is attempted which starts in the
init region and extends into the main memory region, the access_ok func
will deny it.  This leads to weird messages during runtime like "unable
to map xxx library" from the ldso but upon running the application again,
everything works fine.

So if the address of the end of the init region is the same as the start
of the main memory region, simply enlarge the memory region to include
the init region.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-22 04:02:01 -04:00
..
blackfin_sram.h Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
init.c Blackfin: merge kernel init memory back into main memory region 2010-10-22 04:02:01 -04:00
isram-driver.c Blackfin: isram: clean up ITEST_COMMAND macro and improve the selftests 2010-05-22 14:19:10 -04:00
maccess.c blackfin,kgdb,probe_kernel: Cleanup probe_kernel_read/write 2010-01-07 11:58:36 -06:00
Makefile blackfin,kgdb,probe_kernel: Cleanup probe_kernel_read/write 2010-01-07 11:58:36 -06:00
sram-alloc.c Blackfin: use atomic kmalloc in L1 alloc so it too can be atomic 2010-05-22 14:19:12 -04:00