summaryrefslogtreecommitdiff
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2008-08-16 14:07:21 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-17 03:45:56 +0400
commit605d9288b3e8a3d15e6f36185c2fc737b6979572 (patch)
tree010addb96a08b07eaef0db1231bb395c719bb857 /include/linux/vmalloc.h
parent71ef2a46fce43042a60d7ccbf55ecbd789c03c2e (diff)
downloadlinux-605d9288b3e8a3d15e6f36185c2fc737b6979572.tar.xz
mm: VM_flags comment fixes
Try to comment away a little of the confusion between mm's vm_area_struct vm_flags and vmalloc's vm_struct flags: based on an idea by Ulrich Drepper. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/vmalloc.h')
-rw-r--r--include/linux/vmalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index 364789aae9f3..328eb4022727 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -4,9 +4,9 @@
#include <linux/spinlock.h>
#include <asm/page.h> /* pgprot_t */
-struct vm_area_struct;
+struct vm_area_struct; /* vma defining user mapping in mm_types.h */
-/* bits in vm_struct->flags */
+/* bits in flags of vmalloc's vm_struct below */
#define VM_IOREMAP 0x00000001 /* ioremap() and friends */
#define VM_ALLOC 0x00000002 /* vmalloc() */
#define VM_MAP 0x00000004 /* vmap()ed pages */