linux/arch/blackfin
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
..
boot Blackfin: add support for LZO compressed kernels 2010-08-06 12:55:53 -04:00
configs Blackfin: ad7160eval: new board port 2010-10-22 03:48:51 -04:00
include/asm Blackfin: add new cacheflush syscall 2010-10-22 03:48:59 -04:00
kernel Blackfin: gpio: add peripheral group check 2010-10-22 04:02:01 -04:00
lib Blackfin: optimize strncpy a bit 2010-05-22 14:19:11 -04:00
mach-bf518 Blackfin: boards: fix num_chipselect values for on-chip SPI buses 2010-10-22 03:48:52 -04:00
mach-bf527 Blackfin: boards: add example i2c resources for ad525x devices 2010-10-22 03:48:58 -04:00
mach-bf533 Blackfin: boards: add example i2c resources for ad525x devices 2010-10-22 03:48:58 -04:00
mach-bf537 Blackfin: boards: add example i2c resources for ad525x devices 2010-10-22 03:48:58 -04:00
mach-bf538 Blackfin: boards: fix num_chipselect values for on-chip SPI buses 2010-10-22 03:48:52 -04:00
mach-bf548 Blackfin: dma: bf54x: add missing break for SPORT1 TX IRQ 2010-10-22 03:49:00 -04:00
mach-bf561 Blackfin: i2c-gpio boards: use GPIO_PF# defines 2010-10-22 03:48:54 -04:00
mach-common Blackfin: add new cacheflush syscall 2010-10-22 03:48:59 -04:00
mm Blackfin: merge kernel init memory back into main memory region 2010-10-22 04:02:01 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Blackfin: bf51x: enable support for 0.2 silicon 2010-10-22 03:48:56 -04:00
Kconfig.debug Blackfin: allow NMI watchdog to be used w/RETN as a scratch reg 2010-05-22 14:19:04 -04:00
Makefile Blackfin: add support for LZO compressed kernels 2010-08-06 12:55:53 -04:00