diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/rcu/tree.c | 8 | ||||
| -rw-r--r-- | kernel/time/Kconfig | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 65137bc28b2b..8b5dd8ba9495 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
| @@ -701,7 +701,7 @@ void rcu_idle_enter(void) | |||
| 701 | } | 701 | } |
| 702 | EXPORT_SYMBOL_GPL(rcu_idle_enter); | 702 | EXPORT_SYMBOL_GPL(rcu_idle_enter); |
| 703 | 703 | ||
| 704 | #ifdef CONFIG_RCU_USER_QS | 704 | #ifdef CONFIG_NO_HZ_FULL |
| 705 | /** | 705 | /** |
| 706 | * rcu_user_enter - inform RCU that we are resuming userspace. | 706 | * rcu_user_enter - inform RCU that we are resuming userspace. |
| 707 | * | 707 | * |
| @@ -714,7 +714,7 @@ void rcu_user_enter(void) | |||
| 714 | { | 714 | { |
| 715 | rcu_eqs_enter(1); | 715 | rcu_eqs_enter(1); |
| 716 | } | 716 | } |
| 717 | #endif /* CONFIG_RCU_USER_QS */ | 717 | #endif /* CONFIG_NO_HZ_FULL */ |
| 718 | 718 | ||
| 719 | /** | 719 | /** |
| 720 | * rcu_irq_exit - inform RCU that current CPU is exiting irq towards idle | 720 | * rcu_irq_exit - inform RCU that current CPU is exiting irq towards idle |
| @@ -828,7 +828,7 @@ void rcu_idle_exit(void) | |||
| 828 | } | 828 | } |
| 829 | EXPORT_SYMBOL_GPL(rcu_idle_exit); | 829 | EXPORT_SYMBOL_GPL(rcu_idle_exit); |
| 830 | 830 | ||
| 831 | #ifdef CONFIG_RCU_USER_QS | 831 | #ifdef CONFIG_NO_HZ_FULL |
| 832 | /** | 832 | /** |
| 833 | * rcu_user_exit - inform RCU that we are exiting userspace. | 833 | * rcu_user_exit - inform RCU that we are exiting userspace. |
| 834 | * | 834 | * |
| @@ -839,7 +839,7 @@ void rcu_user_exit(void) | |||
| 839 | { | 839 | { |
| 840 | rcu_eqs_exit(1); | 840 | rcu_eqs_exit(1); |
| 841 | } | 841 | } |
| 842 | #endif /* CONFIG_RCU_USER_QS */ | 842 | #endif /* CONFIG_NO_HZ_FULL */ |
| 843 | 843 | ||
| 844 | /** | 844 | /** |
| 845 | * rcu_irq_enter - inform RCU that current CPU is entering irq away from idle | 845 | * rcu_irq_enter - inform RCU that current CPU is entering irq away from idle |
diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig index 579ce1b929af..4008d9f95dd7 100644 --- a/kernel/time/Kconfig +++ b/kernel/time/Kconfig | |||
| @@ -92,12 +92,10 @@ config NO_HZ_FULL | |||
| 92 | depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS | 92 | depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS |
| 93 | # We need at least one periodic CPU for timekeeping | 93 | # We need at least one periodic CPU for timekeeping |
| 94 | depends on SMP | 94 | depends on SMP |
| 95 | # RCU_USER_QS dependency | ||
| 96 | depends on HAVE_CONTEXT_TRACKING | 95 | depends on HAVE_CONTEXT_TRACKING |
| 97 | # VIRT_CPU_ACCOUNTING_GEN dependency | 96 | # VIRT_CPU_ACCOUNTING_GEN dependency |
| 98 | depends on HAVE_VIRT_CPU_ACCOUNTING_GEN | 97 | depends on HAVE_VIRT_CPU_ACCOUNTING_GEN |
| 99 | select NO_HZ_COMMON | 98 | select NO_HZ_COMMON |
| 100 | select RCU_USER_QS | ||
| 101 | select RCU_NOCB_CPU | 99 | select RCU_NOCB_CPU |
| 102 | select VIRT_CPU_ACCOUNTING_GEN | 100 | select VIRT_CPU_ACCOUNTING_GEN |
| 103 | select IRQ_WORK | 101 | select IRQ_WORK |
