X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fhardirq.h;h=eab537091f2a1602e55a17b5cdc7a17afb20f99f;hb=b55813a2e50088ca30df33fa62aeed5d3adb1796;hp=5912874ca83c829494775fc479fed5ebb664cca3;hpb=5d2a22079c825669d91a3a200332f1053b4b61b0;p=~andy%2Flinux diff --git a/include/linux/hardirq.h b/include/linux/hardirq.h index 5912874ca83..eab537091f2 100644 --- a/include/linux/hardirq.h +++ b/include/linux/hardirq.h @@ -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) { }