Re: Updated preempt-kernel patches

From: Robert Love (rml@tech9.net)
Date: Fri Oct 12 2001 - 17:19:52 EST


On Fri, 2001-10-12 at 16:19, Robert Love wrote:
> - fix compile on SMP in some configurations (ac tree only)

Looks like I forgot to merge that one. Fix follows below (its needed by
some ac-tree users who also compile SMP).

diff -urN linux-2.4.12-ac1-preempt/include/asm-i386/spinlock.h linux/include/asm-i386/spinlock.h
--- linux-2.4.12-ac1-preempt/include/asm-i386/spinlock.h Fri Oct 12 16:34:16 2001
+++ linux/include/asm-i386/spinlock.h Fri Oct 12 18:16:05 2001
@@ -97,7 +97,7 @@
                 :"=q" (oldval), "=m" (lock->lock) \
                 :"0" (1) : "memory"
 
-static inline void spin_unlock(spinlock_t *lock)
+static inline void _raw_spin_unlock(spinlock_t *lock)
 {
         char oldval;
 #if SPINLOCK_DEBUG

        Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:46 EST