]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/nommu.c
MMC: OMAP: Power functions modified to MMC multislot support
[linux-2.6-omap-h63xx.git] / mm / nommu.c
index 42fb84e9e8152819701d3da1cd449c30a0466db0..35622c59092546b9fd91d1aa31eceb3504bae41d 100644 (file)
@@ -12,6 +12,7 @@
  *  Copyright (c) 2002      Greg Ungerer <gerg@snapgear.com>
  */
 
+#include <linux/module.h>
 #include <linux/mm.h>
 #include <linux/mman.h>
 #include <linux/swap.h>
@@ -175,7 +176,8 @@ EXPORT_SYMBOL(vfree);
 void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot)
 {
        /*
-        * kmalloc doesn't like __GFP_HIGHMEM for some reason
+        *  You can't specify __GFP_HIGHMEM with kmalloc() since kmalloc()
+        * returns only a logical address.
         */
        return kmalloc(size, (gfp_mask | __GFP_COMP) & ~__GFP_HIGHMEM);
 }