]> err.no Git - linux-2.6/blobdiff - arch/arm/mm/mmap.c
x86: printk kernel version in WARN_ON and other dump_stack users
[linux-2.6] / arch / arm / mm / mmap.c
index b0b5f46940705431a468efb6681a7636e40e988e..2728b0e7d2bbd9a165e3f031454b9b5f1f7fc8aa 100644 (file)
@@ -5,7 +5,7 @@
 #include <linux/mm.h>
 #include <linux/mman.h>
 #include <linux/shm.h>
-
+#include <linux/sched.h>
 #include <asm/system.h>
 
 #define COLOUR_ALIGN(addr,pgoff)               \
@@ -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))