drm/i915: Update ifdeffery for mutex->owner
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Jul 2016 13:46:17 +0000 (14:46 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Jul 2016 10:54:27 +0000 (11:54 +0100)
commit4f074a5393431a7d2cc0de7fcfe2f61d24854628
tree06f0376e607aa8ec1503b62f3e404e7094135bcf
parent1b290f97c8d9a8fb31aa07208c37e4d964b835b4
drm/i915: Update ifdeffery for mutex->owner

In commit 7608a43d8f2e ("locking/mutexes: Use MUTEX_SPIN_ON_OWNER when
appropriate") the owner field in the mutex was updated from being
dependent upon CONFIG_SMP to using optimistic spin. Update our peek
function to suite.

Fixes:7608a43d8f2e ("locking/mutexes: Use MUTEX_SPIN_ON_OWNER...")
Reported-by: Hong Liu <hong.liu@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1468244777-4888-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/i915_gem_shrinker.c