diff options
author | Namhyung Kim <namhyung@gmail.com> | 2011-03-22 19:33:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 20:44:09 -0400 |
commit | a42931bf9c02fbf3628a27a2a5c55d2b83e4ff20 (patch) | |
tree | be75612386f472db6d70e7ecc105ee2246a4810a /mm/vmalloc.c | |
parent | cf15b07cf448e19dcb31a19f0cbaf898b08ce975 (diff) |
vmalloc: remove confusing comment on vwrite()
KM_USER1 is never used for vwrite() path so the caller doesn't need to
guarantee it is not used. Only the caller should guarantee is KM_USER0
and it is commented already.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r-- | mm/vmalloc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index fc77adabb5e3..5d6030235d7a 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
@@ -2003,8 +2003,6 @@ finished: | |||
2003 | * should know vmalloc() area is valid and can use memcpy(). | 2003 | * should know vmalloc() area is valid and can use memcpy(). |
2004 | * This is for routines which have to access vmalloc area without | 2004 | * This is for routines which have to access vmalloc area without |
2005 | * any informaion, as /dev/kmem. | 2005 | * any informaion, as /dev/kmem. |
2006 | * | ||
2007 | * The caller should guarantee KM_USER1 is not used. | ||
2008 | */ | 2006 | */ |
2009 | 2007 | ||
2010 | long vwrite(char *buf, char *addr, unsigned long count) | 2008 | long vwrite(char *buf, char *addr, unsigned long count) |