diff options
author | 2012-04-27 15:17:39 +0200 | |
---|---|---|
committer | 2012-05-05 19:46:16 +0200 | |
commit | 742cbee8049f434d8ae7908ee56fe4cad3db2658 (patch) | |
tree | 513e556a980b4cd53b08a5cf90815288d9b34c81 /fs/nfs/proc.c | |
parent | drm/i915: add interface to simulate gpu hangs (diff) | |
download | wireguard-linux-742cbee8049f434d8ae7908ee56fe4cad3db2658.tar.xz wireguard-linux-742cbee8049f434d8ae7908ee56fe4cad3db2658.zip |
drm/i915: rework dev->first_error locking
- reduce the irq disabled section, even for a debugfs file this was
way too long.
- always disable irqs when taking the lock.
v2: Thou shalt not mistake locking for reference counting, so:
- reference count the error_state to protect from concurent freeeing.
This will be only really used in the next patch.
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'fs/nfs/proc.c')
0 files changed, 0 insertions, 0 deletions