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/spinlock.h | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/kernel/include/linux/spinlock.h b/kernel/include/linux/spinlock.h index c3c7029..7989784 100644 --- a/kernel/include/linux/spinlock.h +++ b/kernel/include/linux/spinlock.h @@ -309,11 +309,7 @@ }) /* Include rwlock functions */ -#ifdef CONFIG_PREEMPT_RT -# include <linux/rwlock_rt.h> -#else -# include <linux/rwlock.h> -#endif +#include <linux/rwlock.h> /* * Pull the _spin_*()/_read_*()/_write_*() functions/declarations: @@ -323,10 +319,6 @@ #else # include <linux/spinlock_api_up.h> #endif - -#ifdef CONFIG_PREEMPT_RT -# include <linux/spinlock_rt.h> -#else /* PREEMPT_RT */ /* * Map the spin_lock functions to the raw variants for PREEMPT_RT=n @@ -461,8 +453,6 @@ } #define assert_spin_locked(lock) assert_raw_spin_locked(&(lock)->rlock) - -#endif /* !PREEMPT_RT */ /* * Pull the atomic_t declaration: -- Gitblit v1.6.2