2887fc5aa6
pfn_valid() actually checks for a valid struct page and not for a valid pfn. Using xip mappings w/o struct pages, this will result in -EFAULT returned by the (page table walk) user copy functions, even though there is valid memory. Those user copy functions don't need a struct page, so this patch just removes the pfn_valid() check. Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> |
||
---|---|---|
.. | ||
delay.c | ||
div64.c | ||
Makefile | ||
qrnnd.S | ||
spinlock.c | ||
string.c | ||
uaccess_mvcos.c | ||
uaccess_pt.c | ||
uaccess_std.c | ||
uaccess.h |