From 2a9a9d4f6c07f2f23b663fe5fbeac1168a5d1029 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 07 Nov 2023 06:19:50 +0000
Subject: [PATCH] support uboot change LCD parameter

---
 kernel/include/linux/reservation.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/include/linux/reservation.h b/kernel/include/linux/reservation.h
index 02166e8..0b31df1 100644
--- a/kernel/include/linux/reservation.h
+++ b/kernel/include/linux/reservation.h
@@ -72,7 +72,7 @@
  */
 struct reservation_object {
 	struct ww_mutex lock;
-	seqcount_t seq;
+	seqlock_t seq;
 
 	struct dma_fence __rcu *fence_excl;
 	struct reservation_object_list __rcu *fence;
@@ -92,7 +92,7 @@
 {
 	ww_mutex_init(&obj->lock, &reservation_ww_class);
 
-	__seqcount_init(&obj->seq, reservation_seqcount_string, &reservation_seqcount_class);
+	seqlock_init(&obj->seq);
 	RCU_INIT_POINTER(obj->fence, NULL);
 	RCU_INIT_POINTER(obj->fence_excl, NULL);
 	obj->staged = NULL;

--
Gitblit v1.6.2