diff options
author | Daniel Vetter <[email protected]> | 2018-11-05 11:12:11 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2018-11-06 18:23:31 +0100 |
commit | 968029057192e46dd78e807b81c2aba2d7648c38 (patch) | |
tree | 4684107a3ebcb451fdbaf40c94d658d2f09bbc0b /drivers/clocksource/riscv_timer.c | |
parent | 078b7de41249b989a574339078696663e095cf37 (diff) |
drm/lease: look at ->universal_planes only once
It's lockless, and userspace might chance it underneath us. That's not
really a problem, all userspace gets is a slightly dysfunctional
lease with the current code. But this might change, and gcc might
decide to reload a few too many times, and then boom. So better safe
than sorry.
v2: Remove the now unused lessor_priv argument from validate_lease()
(Keith).
v3: Actually add everything ... silly me.
Cc: Keith Packard <[email protected]>
Cc: Dave Airlie <[email protected]>
Acked-by: Keith Packard <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/clocksource/riscv_timer.c')
0 files changed, 0 insertions, 0 deletions