]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-mmapc-find_vma-remove-unnecessary-ifmm-check-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 3 May 2012 05:43:45 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:28 +0000 (15:46 +1000)
add remove-me comment

Cc: Hugh Dickins <hughd@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Kautuk Consul <consul.kautuk@gmail.com>
Cc: Rajman Mekaco <rajman.mekaco@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mmap.c

index f9c4f02eabdea9307a7460b1d8350f78e0541200..1b6ff965794979f3166e82eff9c557e2a8259554 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1639,7 +1639,7 @@ struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr)
 {
        struct vm_area_struct *vma = NULL;
 
-       if (WARN_ON_ONCE(!mm))
+       if (WARN_ON_ONCE(!mm))          /* Remove this in linux-3.6 */
                return NULL;
 
        /* Check the cache first. */