aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/mmap.c
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2009-03-18 13:27:35 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-18 13:28:13 +0100
commit2887fc5aa60803b9d6d38c79248805f08d8b0e28 (patch)
tree1aa69da137c2be0a93e9e639750afe065dbdf98a /arch/s390/mm/mmap.c
parent[S390] ftrace/mcount: fix kernel stack backchain (diff)
downloadlinux-dev-2887fc5aa60803b9d6d38c79248805f08d8b0e28.tar.xz
linux-dev-2887fc5aa60803b9d6d38c79248805f08d8b0e28.zip
[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 <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/mmap.c')
0 files changed, 0 insertions, 0 deletions