hc
2023-11-07 f45e756958099c35d6afb746df1d40a1c6302cfc
kernel/include/linux/reservation.h
....@@ -72,7 +72,7 @@
7272 */
7373 struct reservation_object {
7474 struct ww_mutex lock;
75
- seqcount_t seq;
75
+ seqlock_t seq;
7676
7777 struct dma_fence __rcu *fence_excl;
7878 struct reservation_object_list __rcu *fence;
....@@ -92,7 +92,7 @@
9292 {
9393 ww_mutex_init(&obj->lock, &reservation_ww_class);
9494
95
- __seqcount_init(&obj->seq, reservation_seqcount_string, &reservation_seqcount_class);
95
+ seqlock_init(&obj->seq);
9696 RCU_INIT_POINTER(obj->fence, NULL);
9797 RCU_INIT_POINTER(obj->fence_excl, NULL);
9898 obj->staged = NULL;