aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mmu_context.h
AgeCommit message (Collapse)AuthorFilesLines
2009-09-22mm: move use_mm/unuse_mm from aio.c to mm/Michael S. Tsirkin1-0/+9
Anyone who wants to do copy to/from user from a kernel thread, needs use_mm (like what fs/aio has). Move that into mm/, to make reusing and exporting easier down the line, and make aio use it. Next intended user, besides aio, will be vhost-net. Acked-by: Andrea Arcangeli <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>