]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
vmalloc: remove KM_USER0 from comments
authorCong Wang <amwang@redhat.com>
Sat, 23 Jun 2012 03:30:16 +0000 (11:30 +0800)
committerCong Wang <amwang@redhat.com>
Tue, 24 Jul 2012 07:27:33 +0000 (15:27 +0800)
Signed-off-by: Cong Wang <amwang@redhat.com>
mm/vmalloc.c

index 2aad49981b5740ba496f30dad6eb5d5a0d862edf..c7ac8e1b3ac76480cd05fcfaeab6703e9a2610dd 100644 (file)
@@ -1975,9 +1975,7 @@ static int aligned_vwrite(char *buf, char *addr, unsigned long count)
  *     IOREMAP area is treated as memory hole and no copy is done.
  *
  *     If [addr...addr+count) doesn't includes any intersects with alive
- *     vm_struct area, returns 0.
- *     @buf should be kernel's buffer. Because this function uses KM_USER0,
- *     the caller should guarantee KM_USER0 is not used.
+ *     vm_struct area, returns 0. @buf should be kernel's buffer.
  *
  *     Note: In usual ops, vread() is never necessary because the caller
  *     should know vmalloc() area is valid and can use memcpy().
@@ -2051,9 +2049,7 @@ finished:
  *     IOREMAP area is treated as memory hole and no copy is done.
  *
  *     If [addr...addr+count) doesn't includes any intersects with alive
- *     vm_struct area, returns 0.
- *     @buf should be kernel's buffer. Because this function uses KM_USER0,
- *     the caller should guarantee KM_USER0 is not used.
+ *     vm_struct area, returns 0. @buf should be kernel's buffer.
  *
  *     Note: In usual ops, vwrite() is never necessary because the caller
  *     should know vmalloc() area is valid and can use memcpy().