]> git.baikalelectronics.ru Git - kernel.git/commit
mm: export use_mm/unuse_mm to modules
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 14 Jan 2010 06:17:18 +0000 (06:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jan 2010 09:43:28 +0000 (01:43 -0800)
commit1793d042e8fa4bcb60488354d09921101f6d54a6
treefbcaab087c066b7e4c294a9150e56bc742ebee38
parent9bad25d881e07937d5a4ded783d88cd4b97a3872
mm: export use_mm/unuse_mm to modules

vhost net module wants to do copy to/from user from a kernel thread,
which needs use_mm. Export it to modules.

Acked-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
mm/mmu_context.c