From: Bernd Schmidt Date: Wed, 23 Apr 2008 19:06:15 +0000 (+0800) Subject: [Blackfin] arch: This allows XIP to work with FD-PIC. X-Git-Tag: v2.6.26-rc1~1085^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5adb029efad3c51db376d620319abe65d1efc21;p=pandora-kernel.git [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 Signed-off-by: Bryan Wu --- Reading git-diff-tree failed