|
Added
Link Here
|
| 1 |
--- freebsd/include/dahdi/compat/bsd.h.orig 2010-09-02 09:16:05 UTC |
| 2 |
+++ freebsd/include/dahdi/compat/bsd.h |
| 3 |
@@ -218,7 +218,7 @@ typedef struct sx rwlock_t; |
| 4 |
#define DEFINE_RWLOCK(name) \ |
| 5 |
struct sx name; \ |
| 6 |
SX_SYSINIT(name, &name, #name) |
| 7 |
-#define rwlock_init(rwlock) sx_init_flags(rwlock, "DAHDI rwlock", SX_NOADAPTIVE) |
| 8 |
+#define rwlock_init(rwlock) sx_init(rwlock, "DAHDI rwlock") |
| 9 |
#define read_lock(rwlock) sx_slock(rwlock) |
| 10 |
#define read_unlock(rwlock) sx_sunlock(rwlock) |
| 11 |
|