drm: Don't return ERESTARTSYS to user-space.
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 2 Mar 2009 10:10:54 +0000 (11:10 +0100)
committerDave Airlie <airlied@linux.ie>
Mon, 2 Mar 2009 23:49:46 +0000 (09:49 +1000)
commit4d77c88e912e5eb9480432af09e950ca8995c253
tree7e11cab663107a7beb0fa25e79bb33baa2c6de90
parent778ef1e6cbb049c9bcbf405936ee6f2b6e451892
drm: Don't return ERESTARTSYS to user-space.

That return code is for in-kernel use only.
Use EINTR instead.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_lock.c