Re: [PATCH][5/8] Arch agnostic completely out of line locks / ppc64

From: Anton Blanchard
Date: Fri Sep 10 2004 - 03:05:40 EST



I forgot to remove the no longer used __preempt_*_lock prototypes.

Signed-off-by: Anton Blanchard <anton@xxxxxxxxx>

diff -puN include/linux/spinlock.h~fix_preempt include/linux/spinlock.h
--- foobar2/include/linux/spinlock.h~fix_preempt 2004-09-10 17:45:47.600637107 +1000
+++ foobar2-anton/include/linux/spinlock.h 2004-09-10 17:45:54.710204190 +1000
@@ -405,11 +405,6 @@ do { \

/* Where's read_trylock? */

-#if defined(CONFIG_SMP) && defined(CONFIG_PREEMPT)
-void __preempt_spin_lock(spinlock_t *lock);
-void __preempt_write_lock(rwlock_t *lock);
-#endif
-
#define spin_lock(lock) _spin_lock(lock)
#define write_lock(lock) _write_lock(lock)
#define read_lock(lock) _read_lock(lock)
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/