diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
| commit | 53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch) | |
| tree | 9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /include/linux/hardirq.h | |
| parent | a6e8c0a25377e27958b11b20e1927885ae7c9857 (diff) | |
| parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) | |
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
Diffstat (limited to 'include/linux/hardirq.h')
| -rw-r--r-- | include/linux/hardirq.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/hardirq.h b/include/linux/hardirq.h index 305f23cd7cff..cab3da3d0949 100644 --- a/include/linux/hardirq.h +++ b/include/linux/hardirq.h | |||
| @@ -132,11 +132,11 @@ extern void synchronize_irq(unsigned int irq); | |||
| 132 | struct task_struct; | 132 | struct task_struct; |
| 133 | 133 | ||
| 134 | #if !defined(CONFIG_VIRT_CPU_ACCOUNTING) && !defined(CONFIG_IRQ_TIME_ACCOUNTING) | 134 | #if !defined(CONFIG_VIRT_CPU_ACCOUNTING) && !defined(CONFIG_IRQ_TIME_ACCOUNTING) |
| 135 | static inline void account_system_vtime(struct task_struct *tsk) | 135 | static inline void vtime_account(struct task_struct *tsk) |
| 136 | { | 136 | { |
| 137 | } | 137 | } |
| 138 | #else | 138 | #else |
| 139 | extern void account_system_vtime(struct task_struct *tsk); | 139 | extern void vtime_account(struct task_struct *tsk); |
| 140 | #endif | 140 | #endif |
| 141 | 141 | ||
| 142 | #if defined(CONFIG_TINY_RCU) || defined(CONFIG_TINY_PREEMPT_RCU) | 142 | #if defined(CONFIG_TINY_RCU) || defined(CONFIG_TINY_PREEMPT_RCU) |
| @@ -162,7 +162,7 @@ extern void rcu_nmi_exit(void); | |||
| 162 | */ | 162 | */ |
| 163 | #define __irq_enter() \ | 163 | #define __irq_enter() \ |
| 164 | do { \ | 164 | do { \ |
| 165 | account_system_vtime(current); \ | 165 | vtime_account(current); \ |
| 166 | add_preempt_count(HARDIRQ_OFFSET); \ | 166 | add_preempt_count(HARDIRQ_OFFSET); \ |
| 167 | trace_hardirq_enter(); \ | 167 | trace_hardirq_enter(); \ |
| 168 | } while (0) | 168 | } while (0) |
| @@ -178,7 +178,7 @@ extern void irq_enter(void); | |||
| 178 | #define __irq_exit() \ | 178 | #define __irq_exit() \ |
| 179 | do { \ | 179 | do { \ |
| 180 | trace_hardirq_exit(); \ | 180 | trace_hardirq_exit(); \ |
| 181 | account_system_vtime(current); \ | 181 | vtime_account(current); \ |
| 182 | sub_preempt_count(HARDIRQ_OFFSET); \ | 182 | sub_preempt_count(HARDIRQ_OFFSET); \ |
| 183 | } while (0) | 183 | } while (0) |
| 184 | 184 | ||
