drm/i915: Fix up address spaces in slow_kernel_write()
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 27 May 2010 13:15:35 +0000 (14:15 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 28 May 2010 18:03:29 +0000 (11:03 -0700)
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 <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found