Merge branch 'work'
[linux-block.git] / include / linux / hardirq.h
index 5912874ca83c829494775fc479fed5ebb664cca3..eab537091f2a1602e55a17b5cdc7a17afb20f99f 100644 (file)
@@ -90,11 +90,9 @@ extern void synchronize_irq(unsigned int irq);
 #define nmi_enter()            irq_enter()
 #define nmi_exit()             sub_preempt_count(HARDIRQ_OFFSET)
 
-#ifndef CONFIG_VIRT_CPU_ACCOUNTING
-static inline void account_user_vtime(struct task_struct *tsk)
-{
-}
+struct task_struct;
 
+#ifndef CONFIG_VIRT_CPU_ACCOUNTING
 static inline void account_system_vtime(struct task_struct *tsk)
 {
 }