kernel-ark/arch/blackfin
Bernd Schmidt d5adb029ef [Blackfin] arch: This allows XIP to work with FD-PIC.
Previously, init failed to do anything meaningful;
it turns out that the reason is that FD-PIC has a readonly data
section which can be located in the XIP filesystem, and various address checks
in the kernel reject such addresses for syscall arguments.  Hence, init's
  execve ("/bin/sh", ...)
failed with error code EFAULT.

There's room for improvement here: in case people want to have filesystems
on flash rather than in main memory, _access_ok should be modified to
allow this.

This bug fix is also dedicated to Michael Hennerich.

Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-04-24 03:06:15 +08:00
..
boot Blackfin arch: add a cheesy install target 2007-10-22 00:45:55 +08:00
configs [Blackfin] arch: boards and machines defconfig updates 2008-04-24 05:02:04 +08:00
kernel [Blackfin] arch: This allows XIP to work with FD-PIC. 2008-04-24 03:06:15 +08:00
lib [Blackfin] arch: fix bug - make memcpy return the dest addr. 2007-12-21 21:12:21 +08:00
mach-bf527 [Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__ 2008-04-23 09:39:01 +08:00
mach-bf533 [Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__ 2008-04-23 09:39:01 +08:00
mach-bf537 [Blackfin] arch: finish removing remnants of old BF537_PORT_H option of Blackfin EMAC driver 2008-04-24 02:37:27 +08:00
mach-bf548 [Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__ 2008-04-23 09:39:01 +08:00
mach-bf561 [Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__ 2008-04-23 09:39:01 +08:00
mach-common [Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__ 2008-04-23 09:39:01 +08:00
mm [Blackfin] arch: fix bug - make sure we check the right L1 length 2008-04-23 08:55:26 +08:00
oprofile [Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__ 2008-04-23 09:39:01 +08:00
Kconfig [Blackfin] arch: LARGE_ALLOCS was dropped along the way ... bring Blackfin in line 2008-04-23 10:19:59 +08:00
Kconfig.debug [Blackfin] arch: add slightly better help text for CPLB_INFO 2008-02-02 15:32:40 +08:00
Makefile [Blackfin] arch: declare CHECKFLAGS to make sparse output more readable 2008-03-07 02:43:48 +08:00