From f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 31 Jan 2024 01:04:47 +0000 Subject: [PATCH] add driver 5G --- kernel/include/linux/rwsem.h | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/kernel/include/linux/rwsem.h b/kernel/include/linux/rwsem.h index 4f71699..e851cd5 100644 --- a/kernel/include/linux/rwsem.h +++ b/kernel/include/linux/rwsem.h @@ -16,11 +16,6 @@ #include <linux/spinlock.h> #include <linux/atomic.h> #include <linux/err.h> - -#ifdef CONFIG_PREEMPT_RT -#include <linux/rwsem-rt.h> -#else /* PREEMPT_RT */ - #ifdef CONFIG_RWSEM_SPIN_ON_OWNER #include <linux/osq_lock.h> #endif @@ -139,13 +134,6 @@ { return !list_empty(&sem->wait_list); } - -#endif /* !PREEMPT_RT */ - -/* - * The functions below are the same for all rwsem implementations including - * the RT specific variant. - */ /* * lock for reading -- Gitblit v1.6.2