diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-04-10 17:09:44 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-04-17 13:37:19 +0200 |
commit | 37f36cab53c9e903823b327f964227563766071a (patch) | |
tree | 6cabd076b5c664d275345c19d8ac3e942424e63b /include/linux/vtime.h | |
parent | 4475cd8bfd9bcb898953fcadb2f51b3432eb68a1 (diff) | |
download | lwn-37f36cab53c9e903823b327f964227563766071a.tar.gz lwn-37f36cab53c9e903823b327f964227563766071a.zip |
sched/vtime: Remove confusing arch_vtime_task_switch() declaration
Callback arch_vtime_task_switch() is only defined when
CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is selected. Yet, the
function prototype forward declaration is present for
CONFIG_VIRT_CPU_ACCOUNTING_GEN variant. Remove it.
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Link: https://lore.kernel.org/r/783d7c611864f82b0fb9edf01890b9396f3a549a.1712760275.git.agordeev@linux.ibm.com
Diffstat (limited to 'include/linux/vtime.h')
-rw-r--r-- | include/linux/vtime.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/vtime.h b/include/linux/vtime.h index 3684487d01e1..593466ceebed 100644 --- a/include/linux/vtime.h +++ b/include/linux/vtime.h @@ -18,7 +18,6 @@ extern void vtime_account_idle(struct task_struct *tsk); #endif /* !CONFIG_VIRT_CPU_ACCOUNTING */ #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN -extern void arch_vtime_task_switch(struct task_struct *tsk); extern void vtime_user_enter(struct task_struct *tsk); extern void vtime_user_exit(struct task_struct *tsk); extern void vtime_guest_enter(struct task_struct *tsk); |