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)
commit5da779c34ccff5e1e617892b6c8bd8260fb1f04c
treefbcaab087c066b7e4c294a9150e56bc742ebee38
parent05c2828c72c4eabf62376adfe27bd24797621f62
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