From ba412fc7b69261d4a09b4c3a401c35ad6a164ced Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Fri, 19 Oct 2007 23:11:38 +0200 Subject: [PATCH] --- yaml --- r: 71822 b: refs/heads/master c: 8518609deeacebafd71855f87cc411adb0c3be4e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/mm/nommu.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ea27e51c07f7..1f985dbe5ab5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3a4fa0a25da81600ea0bcd75692ae8ca6050d165 +refs/heads/master: 8518609deeacebafd71855f87cc411adb0c3be4e diff --git a/trunk/mm/nommu.c b/trunk/mm/nommu.c index 42fb84e9e815..8f09333f78e1 100644 --- a/trunk/mm/nommu.c +++ b/trunk/mm/nommu.c @@ -175,7 +175,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); }