From: Benjamin Herrenschmidt Date: Sun, 6 May 2007 21:50:07 +0000 (-0700) Subject: get_unmapped_area handles MAP_FIXED on arm X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=acec0ac0a87ca821f9d204780c2d1aa0509a6346;p=openwrt%2Fstaging%2Fblogic.git get_unmapped_area handles MAP_FIXED on arm ARM already had a case for MAP_FIXED in arch_get_unmapped_area() though it was not called before. Fix the comment to reflect that it will now be called. Signed-off-by: Benjamin Herrenschmidt Acked-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c index b0b5f4694070..2c4c2422cd1e 100644 --- a/arch/arm/mm/mmap.c +++ b/arch/arm/mm/mmap.c @@ -49,8 +49,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, #endif /* - * We should enforce the MAP_FIXED case. However, currently - * the generic kernel code doesn't allow us to handle this. + * We enforce the MAP_FIXED case. */ if (flags & MAP_FIXED) { if (aliasing && flags & MAP_SHARED && addr & (SHMLBA - 1))