kernel/include/linux/reservation.h
.. .. @@ -72,7 +72,7 @@ 72 72 */ 73 73 struct reservation_object { 74 74 struct ww_mutex lock; 75 - seqcount_t seq;75 + seqlock_t seq;76 76 77 77 struct dma_fence __rcu *fence_excl; 78 78 struct reservation_object_list __rcu *fence; .. .. @@ -92,7 +92,7 @@ 92 92 { 93 93 ww_mutex_init(&obj->lock, &reservation_ww_class); 94 94 95 - __seqcount_init(&obj->seq, reservation_seqcount_string, &reservation_seqcount_class);95 + seqlock_init(&obj->seq);96 96 RCU_INIT_POINTER(obj->fence, NULL); 97 97 RCU_INIT_POINTER(obj->fence_excl, NULL); 98 98 obj->staged = NULL;