]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sched: Consolidate account_system_vtime extern declaration
authorVenkatesh Pallipadi <venki@google.com>
Thu, 10 Feb 2011 09:23:26 +0000 (10:23 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:37:24 +0000 (15:37 -0800)
Commit: e1e10a265d28273ab8c70be19d43dcbdeead6c5a upstream

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>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ia64/include/asm/system.h
arch/powerpc/include/asm/system.h
arch/s390/include/asm/system.h
include/linux/hardirq.h

index 927a381c20ca06e35c7ba7ed10a6ef35e1826752..1ff461e6f32a724adddc148a24087be3d59a7268 100644 (file)
@@ -281,10 +281,6 @@ void cpu_idle_wait(void);
 
 void default_idle(void);
 
-#ifdef CONFIG_VIRT_CPU_ACCOUNTING
-extern void account_system_vtime(struct task_struct *);
-#endif
-
 #endif /* __KERNEL__ */
 
 #endif /* __ASSEMBLY__ */
index bb8e006a47c67655d9f68d2608abd438e0e21d48..094a12a9111b448a255778712aa1af7a7e7b1b54 100644 (file)
@@ -540,10 +540,6 @@ extern void reloc_got2(unsigned long);
 
 #define PTRRELOC(x)    ((typeof(x)) add_reloc_offset((unsigned long)(x)))
 
-#ifdef CONFIG_VIRT_CPU_ACCOUNTING
-extern void account_system_vtime(struct task_struct *);
-#endif
-
 extern struct dentry *powerpc_debugfs_root;
 
 #endif /* __KERNEL__ */
index 379661d2f81ac9ce68863ec48e7c85e1244177ec..6b3a2e248ac91895b1f3a3fac4b7dcb24d31b2a1 100644 (file)
@@ -97,7 +97,6 @@ static inline void restore_access_regs(unsigned int *acrs)
 
 extern void account_vtime(struct task_struct *, struct task_struct *);
 extern void account_tick_vtime(struct task_struct *);
-extern void account_system_vtime(struct task_struct *);
 
 #ifdef CONFIG_PFAULT
 extern void pfault_irq_init(void);
index fa20e7673e5f5098e7cc43c246a1816e55b7588f..a1c732ab0c7662944d318383a8e1da43f7efb5c4 100644 (file)
@@ -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)