diff options
author | Christopher Kenna <cjk@cs.unc.edu> | 2012-09-28 13:46:28 -0400 |
---|---|---|
committer | Christopher Kenna <cjk@cs.unc.edu> | 2012-09-28 14:50:15 -0400 |
commit | daa22703f14c007e93b464c45fa60019a36f546d (patch) | |
tree | a1a130b6e128dc9d57c35c026977e1b4953105e1 /include/linux/hardirq.h | |
parent | 5aa287dcf1b5879aa0150b0511833c52885f5b4c (diff) |
Apply k4412 kernel from HardKernel for ODROID-X.
Diffstat (limited to 'include/linux/hardirq.h')
-rw-r--r-- | include/linux/hardirq.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/hardirq.h b/include/linux/hardirq.h index ba362171e8a..de48bdad279 100644 --- a/include/linux/hardirq.h +++ b/include/linux/hardirq.h | |||
@@ -139,7 +139,13 @@ static inline void account_system_vtime(struct task_struct *tsk) | |||
139 | extern void account_system_vtime(struct task_struct *tsk); | 139 | extern void account_system_vtime(struct task_struct *tsk); |
140 | #endif | 140 | #endif |
141 | 141 | ||
142 | #if defined(CONFIG_NO_HZ) | 142 | #if defined(CONFIG_JRCU) |
143 | extern int rcu_nmi_seen; | ||
144 | # define rcu_irq_enter() do { } while (0) | ||
145 | # define rcu_irq_exit() do { } while (0) | ||
146 | # define rcu_nmi_enter() do { rcu_nmi_seen = 1; } while (0) | ||
147 | # define rcu_nmi_exit() do { } while (0) | ||
148 | #elif defined(CONFIG_NO_HZ) | ||
143 | #if defined(CONFIG_TINY_RCU) || defined(CONFIG_TINY_PREEMPT_RCU) | 149 | #if defined(CONFIG_TINY_RCU) || defined(CONFIG_TINY_PREEMPT_RCU) |
144 | extern void rcu_enter_nohz(void); | 150 | extern void rcu_enter_nohz(void); |
145 | extern void rcu_exit_nohz(void); | 151 | extern void rcu_exit_nohz(void); |