From: Gerald Schaefer Date: Wed, 18 Mar 2009 12:27:35 +0000 (+0100) Subject: [S390] Dont check for pfn_valid() in uaccess_pt.c X-Git-Tag: v2.6.29~16^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2887fc5aa60803b9d6d38c79248805f08d8b0e28;p=pandora-kernel.git [S390] Dont check for pfn_valid() in uaccess_pt.c 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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed