.. | .. |
---|
117 | 117 | * __[spin|read|write]_lock_bh() |
---|
118 | 118 | */ |
---|
119 | 119 | BUILD_LOCK_OPS(spin, raw_spinlock); |
---|
| 120 | + |
---|
| 121 | +#ifndef CONFIG_PREEMPT_RT_FULL |
---|
120 | 122 | BUILD_LOCK_OPS(read, rwlock); |
---|
121 | 123 | BUILD_LOCK_OPS(write, rwlock); |
---|
| 124 | +#endif |
---|
122 | 125 | |
---|
123 | 126 | #endif |
---|
124 | 127 | |
---|
.. | .. |
---|
201 | 204 | } |
---|
202 | 205 | EXPORT_SYMBOL(_raw_spin_unlock_bh); |
---|
203 | 206 | #endif |
---|
| 207 | + |
---|
| 208 | +#ifndef CONFIG_PREEMPT_RT_FULL |
---|
204 | 209 | |
---|
205 | 210 | #ifndef CONFIG_INLINE_READ_TRYLOCK |
---|
206 | 211 | int __lockfunc _raw_read_trylock(rwlock_t *lock) |
---|
.. | .. |
---|
346 | 351 | EXPORT_SYMBOL(_raw_write_unlock_bh); |
---|
347 | 352 | #endif |
---|
348 | 353 | |
---|
| 354 | +#endif /* !PREEMPT_RT_FULL */ |
---|
| 355 | + |
---|
349 | 356 | #ifdef CONFIG_DEBUG_LOCK_ALLOC |
---|
350 | 357 | |
---|
351 | 358 | void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) |
---|