diff options
Diffstat (limited to 'include/linux/hardirq.h')
-rw-r--r-- | include/linux/hardirq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hardirq.h b/include/linux/hardirq.h index 8246c697863d..330cb31bb496 100644 --- a/include/linux/hardirq.h +++ b/include/linux/hardirq.h | |||
@@ -132,7 +132,7 @@ static inline void account_system_vtime(struct task_struct *tsk) | |||
132 | } | 132 | } |
133 | #endif | 133 | #endif |
134 | 134 | ||
135 | #if defined(CONFIG_NO_HZ) && !defined(CONFIG_CLASSIC_RCU) | 135 | #if defined(CONFIG_NO_HZ) |
136 | extern void rcu_irq_enter(void); | 136 | extern void rcu_irq_enter(void); |
137 | extern void rcu_irq_exit(void); | 137 | extern void rcu_irq_exit(void); |
138 | extern void rcu_nmi_enter(void); | 138 | extern void rcu_nmi_enter(void); |
@@ -142,7 +142,7 @@ extern void rcu_nmi_exit(void); | |||
142 | # define rcu_irq_exit() do { } while (0) | 142 | # define rcu_irq_exit() do { } while (0) |
143 | # define rcu_nmi_enter() do { } while (0) | 143 | # define rcu_nmi_enter() do { } while (0) |
144 | # define rcu_nmi_exit() do { } while (0) | 144 | # define rcu_nmi_exit() do { } while (0) |
145 | #endif /* #if defined(CONFIG_NO_HZ) && !defined(CONFIG_CLASSIC_RCU) */ | 145 | #endif /* #if defined(CONFIG_NO_HZ) */ |
146 | 146 | ||
147 | /* | 147 | /* |
148 | * It is safe to do non-atomic ops on ->hardirq_context, | 148 | * It is safe to do non-atomic ops on ->hardirq_context, |