rendered paste bodyinclude/ init/
[root@asterisk1 aah_load]# diff -u spinlock.h /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/include/linux/spinlock.h
--- spinlock.h 2006-03-11 12:49:20.000000000 -0700
+++ /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/include/linux/spinlock.h 2006-05-24 06:34:26.000000000 -0600
@@ -404,7 +404,7 @@
#define write_trylock(lock) _write_trylock(lock)
#define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
-#define DEFINE_RWLOCK(x) rwlock_t x = RW_LOCK_UNLOCKED
+#define DEFINE_RWLOCK(x) rw_lock_t x = RW_LOCK_UNLOCKED
/* Where's read_trylock? */
#define spin_lock(lock) _spin_lock(lock)