From: Michael S. Tsirkin Date: Tue, 22 Sep 2009 00:03:51 +0000 (-0700) Subject: mm: move use_mm/unuse_mm from aio.c to mm/ X-Git-Tag: v2.6.32-rc1~473 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d2d827f5ca5e32816194119d5c980c7e04474a6;p=pandora-kernel.git mm: move use_mm/unuse_mm from aio.c to mm/ 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 Signed-off-by: Michael S. Tsirkin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed