From a2323cfa88f8ae442651f5af775396157ebe7d25 Mon Sep 17 00:00:00 2001 From: YONETANI Tomokazu Date: Thu, 10 Nov 2005 00:53:23 +0000 Subject: [PATCH] Rename spin_lock()/spin_unlock() to spin_lock_quick()/spin_unlock_quick() for UP kernel, too, or else buildkernel fails with redefinition of these functions. --- sys/sys/spinlock2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/spinlock2.h b/sys/sys/spinlock2.h index 8714f84221..7972904f5b 100644 --- a/sys/sys/spinlock2.h +++ b/sys/sys/spinlock2.h @@ -29,7 +29,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $DragonFly: src/sys/sys/spinlock2.h,v 1.2 2005/11/08 22:40:00 dillon Exp $ + * $DragonFly: src/sys/sys/spinlock2.h,v 1.3 2005/11/10 00:53:23 y0netan1 Exp $ */ #ifndef _SYS_SPINLOCK2_H_ @@ -108,8 +108,8 @@ spin_is_locked(struct spinlock *mtx) return (FALSE); } -static __inline void spin_lock(struct spinlock *mtx) { } -static __inline void spin_unlock(struct spinlock *mtx) { } +static __inline void spin_lock_quick(struct spinlock *mtx) { } +static __inline void spin_unlock_quick(struct spinlock *mtx) { } static __inline void spin_init(struct spinlock *mtx) { } #endif /* SMP */ -- 2.41.0