aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorjmarchan@redhat.com <jmarchan@redhat.com>2014-01-15 10:27:11 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-01-29 01:02:25 -0500
commit19751c07b3728748c1253627ce94e6906fa5e273 (patch)
tree5352397bce49d1c23e8df8fdd58db587a9edbae0 /kernel
parent2c2e6ecfd077cbae72d32568af58c4ba57826c84 (diff)
powerpc/mm: Fix mmap errno when MAP_FIXED is set and mapping exceeds the allowed address space
According to Posix, if MAP_FIXED is specified mmap shall set ENOMEM if the requested mapping exceeds the allowed range for address space of the process. The generic code set it right, but the specific powerpc slice_get_unmapped_area() function currently returns -EINVAL in that case. This patch corrects it. Signed-off-by: Jerome Marchand <jmarchan@redhat.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions