| .. | .. |
|---|
| 68 | 68 | module_param(rcu_expedited, int, 0); |
|---|
| 69 | 69 | extern int rcu_normal; /* from sysctl */ |
|---|
| 70 | 70 | module_param(rcu_normal, int, 0); |
|---|
| 71 | | -static int rcu_normal_after_boot; |
|---|
| 71 | +static int rcu_normal_after_boot = IS_ENABLED(CONFIG_PREEMPT_RT_FULL); |
|---|
| 72 | +#ifndef CONFIG_PREEMPT_RT_FULL |
|---|
| 72 | 73 | module_param(rcu_normal_after_boot, int, 0); |
|---|
| 74 | +#endif |
|---|
| 73 | 75 | #endif /* #ifndef CONFIG_TINY_RCU */ |
|---|
| 74 | 76 | |
|---|
| 75 | 77 | #ifdef CONFIG_DEBUG_LOCK_ALLOC |
|---|
| .. | .. |
|---|
| 288 | 290 | } |
|---|
| 289 | 291 | EXPORT_SYMBOL_GPL(rcu_read_lock_held); |
|---|
| 290 | 292 | |
|---|
| 293 | +#ifndef CONFIG_PREEMPT_RT_FULL |
|---|
| 291 | 294 | /** |
|---|
| 292 | 295 | * rcu_read_lock_bh_held() - might we be in RCU-bh read-side critical section? |
|---|
| 293 | 296 | * |
|---|
| .. | .. |
|---|
| 314 | 317 | return in_softirq() || irqs_disabled(); |
|---|
| 315 | 318 | } |
|---|
| 316 | 319 | EXPORT_SYMBOL_GPL(rcu_read_lock_bh_held); |
|---|
| 320 | +#endif |
|---|
| 317 | 321 | |
|---|
| 318 | 322 | #endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ |
|---|
| 319 | 323 | |
|---|