From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/include/linux/rwlock_rt.h | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/kernel/include/linux/rwlock_rt.h b/kernel/include/linux/rwlock_rt.h index a9c4c2a..aafdb0a 100644 --- a/kernel/include/linux/rwlock_rt.h +++ b/kernel/include/linux/rwlock_rt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only #ifndef __LINUX_RWLOCK_RT_H #define __LINUX_RWLOCK_RT_H @@ -23,7 +24,6 @@ static inline int __write_trylock_rt_irqsave(rwlock_t *lock, unsigned long *flags) { - /* XXX ARCH_IRQ_ENABLED */ *flags = 0; return rt_write_trylock(lock); } @@ -105,15 +105,5 @@ \ __rt_rwlock_init(rwl, #rwl, &__key); \ } while (0) - -/* - * Internal functions made global for CPU pinning - */ -void __read_rt_lock(struct rt_rw_lock *lock); -int __read_rt_trylock(struct rt_rw_lock *lock); -void __write_rt_lock(struct rt_rw_lock *lock); -int __write_rt_trylock(struct rt_rw_lock *lock); -void __read_rt_unlock(struct rt_rw_lock *lock); -void __write_rt_unlock(struct rt_rw_lock *lock); #endif -- Gitblit v1.6.2