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/nfs_fs.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/kernel/include/linux/nfs_fs.h b/kernel/include/linux/nfs_fs.h
index 0ff7dd2..91e7bb5 100644
--- a/kernel/include/linux/nfs_fs.h
+++ b/kernel/include/linux/nfs_fs.h
@@ -164,7 +164,11 @@
 
 	/* Readers: in-flight sillydelete RPC calls */
 	/* Writers: rmdir */
+#ifdef CONFIG_PREEMPT_RT_BASE
+	struct semaphore        rmdir_sem;
+#else
 	struct rw_semaphore	rmdir_sem;
+#endif
 	struct mutex		commit_mutex;
 
 #if IS_ENABLED(CONFIG_NFS_V4)

--
Gitblit v1.6.2