diff options
| author | 2019-11-07 22:12:01 +0000 | |
|---|---|---|
| committer | 2019-11-08 10:52:09 +0000 | |
| commit | b5572d312d5925ff05b46c42ccbad0e945dc813c (patch) | |
| tree | 6a9be819e233ebe0648d29c4672e570e66e04e6b /include/linux/timerqueue.h | |
| parent | drm/i915/selftests: Complete transition to a real struct file mock (diff) | |
drm/i915/selftests: Mark up sole accessor to ctx->vm as being protected
In the selftests, where we are accessing a private ctx from within the
confines of a single test, we know that the ctx->vm pointer is static
and bounded by the lifetime of the test. We can use a simple helper to
provide the RCU annotations to keep sparse happy.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107221201.30497-1-chris@chris-wilson.co.uk
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
