diff options
Diffstat (limited to 'mm/nommu.c')
-rw-r--r-- | mm/nommu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/nommu.c b/mm/nommu.c index 42fb84e9e815..8f09333f78e1 100644 --- a/mm/nommu.c +++ b/mm/nommu.c | |||
@@ -175,7 +175,8 @@ EXPORT_SYMBOL(vfree); | |||
175 | void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot) | 175 | void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot) |
176 | { | 176 | { |
177 | /* | 177 | /* |
178 | * kmalloc doesn't like __GFP_HIGHMEM for some reason | 178 | * You can't specify __GFP_HIGHMEM with kmalloc() since kmalloc() |
179 | * returns only a logical address. | ||
179 | */ | 180 | */ |
180 | return kmalloc(size, (gfp_mask | __GFP_COMP) & ~__GFP_HIGHMEM); | 181 | return kmalloc(size, (gfp_mask | __GFP_COMP) & ~__GFP_HIGHMEM); |
181 | } | 182 | } |