Commit a8e5202d09c1bac5b83889e1ddeff146eb421565

Authored by Cong Wang
1 parent 167885e593

vmalloc: remove KM_USER0 from comments

Signed-off-by: Cong Wang <amwang@redhat.com>

Showing 1 changed file with 2 additions and 6 deletions Side-by-side Diff

... ... @@ -1975,9 +1975,7 @@
1975 1975 * IOREMAP area is treated as memory hole and no copy is done.
1976 1976 *
1977 1977 * If [addr...addr+count) doesn't includes any intersects with alive
1978   - * vm_struct area, returns 0.
1979   - * @buf should be kernel's buffer. Because this function uses KM_USER0,
1980   - * the caller should guarantee KM_USER0 is not used.
  1978 + * vm_struct area, returns 0. @buf should be kernel's buffer.
1981 1979 *
1982 1980 * Note: In usual ops, vread() is never necessary because the caller
1983 1981 * should know vmalloc() area is valid and can use memcpy().
... ... @@ -2051,9 +2049,7 @@
2051 2049 * IOREMAP area is treated as memory hole and no copy is done.
2052 2050 *
2053 2051 * If [addr...addr+count) doesn't includes any intersects with alive
2054   - * vm_struct area, returns 0.
2055   - * @buf should be kernel's buffer. Because this function uses KM_USER0,
2056   - * the caller should guarantee KM_USER0 is not used.
  2052 + * vm_struct area, returns 0. @buf should be kernel's buffer.
2057 2053 *
2058 2054 * Note: In usual ops, vwrite() is never necessary because the caller
2059 2055 * should know vmalloc() area is valid and can use memcpy().