aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm')
-rw-r--r--arch/arm/mm/mmap.c3
1 files changed, 1 insertions, 2 deletions
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,
49#endif 49#endif
50 50
51 /* 51 /*
52 * We should enforce the MAP_FIXED case. However, currently 52 * We enforce the MAP_FIXED case.
53 * the generic kernel code doesn't allow us to handle this.
54 */ 53 */
55 if (flags & MAP_FIXED) { 54 if (flags & MAP_FIXED) {
56 if (aliasing && flags & MAP_SHARED && addr & (SHMLBA - 1)) 55 if (aliasing && flags & MAP_SHARED && addr & (SHMLBA - 1))