From: Chris Wilson Date: Thu, 27 May 2010 13:15:35 +0000 (+0100) Subject: drm/i915: Fix up address spaces in slow_kernel_write() X-Git-Tag: v2.6.35-rc2~56^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab34c226812588de8f341ce48eb32c3fef5155a9;p=pandora-kernel.git drm/i915: Fix up address spaces in slow_kernel_write() Since we now get_user_pages() outside of the mutex prior to performing the copy, we kmap() the page inside the copy routine and so need to perform an ordinary memcpy() and not copy_from_user(). Signed-off-by: Chris Wilson Signed-off-by: Eric Anholt --- Reading git-diff-tree failed