Tziporet, Vlad,

I've included the second of the eight warning fix patches.

Thanks!

Jeremy Brown

---

Remove broken DEFINE_RWLOCK def to stop compiler warnings

Signed-off-by: John Gregor <[EMAIL PROTECTED]>

diff -r 8ec840d6e107 kernel_addons/backport/2.6.9_U3/include/linux/spinlock.h
--- a/kernel_addons/backport/2.6.9_U3/include/linux/spinlock.h  Thu May 10 
17:50:00 2007 -0700
+++ b/kernel_addons/backport/2.6.9_U3/include/linux/spinlock.h  Thu May 10 
18:32:51 2007 -0700
@@ -3,6 +3,11 @@
 
 #include_next <linux/spinlock.h>
 #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
+
+#ifdef DEFINE_RWLOCK
+#undef DEFINE_RWLOCK
+#endif
+
 #define DEFINE_RWLOCK(x)       rwlock_t x = RW_LOCK_UNLOCKED
 
 #define spin_lock_nested(lock, subclass) spin_lock(lock)


_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to