drm/ttm: remove unneeded preempt_disable/enable
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 9 Nov 2012 12:10:43 +0000 (12:10 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Nov 2012 23:59:51 +0000 (09:59 +1000)
commit55aa914e9274cf1d55397cc04eb926eb055c79f7
treed90993007c009f362c32dfef0debc55383a19f44
parentac207ed2471150e06af0afc76e4becc701fa2733
drm/ttm: remove unneeded preempt_disable/enable

It is unnecessary to disable preemption explicitly while calling
copy_highpage().  Because copy_highpage() will do it again through
kmap_atomic/kunmap_atomic.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_tt.c