]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/hardirq.h
Revert "swsusp special saveable pages support" commits
[linux-2.6-omap-h63xx.git] / include / linux / hardirq.h
index 5912874ca83c829494775fc479fed5ebb664cca3..114ae583cca9a28480ba684c342a54b97bf46686 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef LINUX_HARDIRQ_H
 #define LINUX_HARDIRQ_H
 
-#include <linux/config.h>
 #include <linux/preempt.h>
 #include <linux/smp_lock.h>
 #include <asm/hardirq.h>
@@ -90,11 +89,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)
 {
 }