| .. | .. |
|---|
| 124 | 124 | * __[spin|read|write]_lock_bh() |
|---|
| 125 | 125 | */ |
|---|
| 126 | 126 | BUILD_LOCK_OPS(spin, raw_spinlock); |
|---|
| 127 | | - |
|---|
| 128 | | -#ifndef CONFIG_PREEMPT_RT |
|---|
| 129 | 127 | BUILD_LOCK_OPS(read, rwlock); |
|---|
| 130 | 128 | BUILD_LOCK_OPS(write, rwlock); |
|---|
| 131 | | -#endif |
|---|
| 132 | 129 | |
|---|
| 133 | 130 | #endif |
|---|
| 134 | 131 | |
|---|
| .. | .. |
|---|
| 211 | 208 | } |
|---|
| 212 | 209 | EXPORT_SYMBOL(_raw_spin_unlock_bh); |
|---|
| 213 | 210 | #endif |
|---|
| 214 | | - |
|---|
| 215 | | -#ifndef CONFIG_PREEMPT_RT |
|---|
| 216 | 211 | |
|---|
| 217 | 212 | #ifndef CONFIG_INLINE_READ_TRYLOCK |
|---|
| 218 | 213 | int __lockfunc _raw_read_trylock(rwlock_t *lock) |
|---|
| .. | .. |
|---|
| 357 | 352 | } |
|---|
| 358 | 353 | EXPORT_SYMBOL(_raw_write_unlock_bh); |
|---|
| 359 | 354 | #endif |
|---|
| 360 | | - |
|---|
| 361 | | -#endif /* !PREEMPT_RT */ |
|---|
| 362 | 355 | |
|---|
| 363 | 356 | #ifdef CONFIG_DEBUG_LOCK_ALLOC |
|---|
| 364 | 357 | |
|---|