diff options
author | 2010-10-04 17:03:17 -0700 | |
---|---|---|
committer | 2010-10-18 20:52:21 +0200 | |
commit | e1e10a265d28273ab8c70be19d43dcbdeead6c5a (patch) | |
tree | a3b386ef5c6db764c06021f3096233b162bc48f3 /include/linux/hardirq.h | |
parent | sched: Fix softirq time accounting (diff) | |
download | linux-e1e10a265d28273ab8c70be19d43dcbdeead6c5a.tar.gz linux-e1e10a265d28273ab8c70be19d43dcbdeead6c5a.tar.bz2 linux-e1e10a265d28273ab8c70be19d43dcbdeead6c5a.zip |
sched: Consolidate account_system_vtime extern declaration
Just a minor cleanup patch that makes things easier to the following patches.
No functionality change in this patch.
Signed-off-by: Venkatesh Pallipadi <venki@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1286237003-12406-3-git-send-email-venki@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/hardirq.h')
-rw-r--r-- | include/linux/hardirq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hardirq.h b/include/linux/hardirq.h index e37a77cbd588..41367c5c3c68 100644 --- a/include/linux/hardirq.h +++ b/include/linux/hardirq.h @@ -141,6 +141,8 @@ struct task_struct; static inline void account_system_vtime(struct task_struct *tsk) { } +#else +extern void account_system_vtime(struct task_struct *tsk); #endif #if defined(CONFIG_NO_HZ) |