sched/vtime: Remove confusing arch_vtime_task_switch() declaration
authorAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 10 Apr 2024 15:09:44 +0000 (17:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Apr 2024 11:37:19 +0000 (13:37 +0200)
commit37f36cab53c9e903823b327f964227563766071a
tree6cabd076b5c664d275345c19d8ac3e942424e63b
parent4475cd8bfd9bcb898953fcadb2f51b3432eb68a1
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
include/linux/vtime.h