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>
This commit is contained in:
committed by
Ingo Molnar
parent
75e1056f5c
commit
e1e10a265d
@@ -272,10 +272,6 @@ void cpu_idle_wait(void);
|
|||||||
|
|
||||||
void default_idle(void);
|
void default_idle(void);
|
||||||
|
|
||||||
#ifdef CONFIG_VIRT_CPU_ACCOUNTING
|
|
||||||
extern void account_system_vtime(struct task_struct *);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
|
@@ -542,10 +542,6 @@ extern void reloc_got2(unsigned long);
|
|||||||
|
|
||||||
#define PTRRELOC(x) ((typeof(x)) add_reloc_offset((unsigned long)(x)))
|
#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;
|
extern struct dentry *powerpc_debugfs_root;
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
@@ -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_vtime(struct task_struct *, struct task_struct *);
|
||||||
extern void account_tick_vtime(struct task_struct *);
|
extern void account_tick_vtime(struct task_struct *);
|
||||||
extern void account_system_vtime(struct task_struct *);
|
|
||||||
|
|
||||||
#ifdef CONFIG_PFAULT
|
#ifdef CONFIG_PFAULT
|
||||||
extern void pfault_irq_init(void);
|
extern void pfault_irq_init(void);
|
||||||
|
@@ -141,6 +141,8 @@ struct task_struct;
|
|||||||
static inline void account_system_vtime(struct task_struct *tsk)
|
static inline void account_system_vtime(struct task_struct *tsk)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
extern void account_system_vtime(struct task_struct *tsk);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_NO_HZ)
|
#if defined(CONFIG_NO_HZ)
|
||||||
|
Reference in New Issue
Block a user