Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Alexander Gordeev and committed by
Ingo Molnar
37f36cab 4475cd8b

-1
-1
include/linux/vtime.h
··· 18 18 #endif /* !CONFIG_VIRT_CPU_ACCOUNTING */ 19 19 20 20 #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN 21 - extern void arch_vtime_task_switch(struct task_struct *tsk); 22 21 extern void vtime_user_enter(struct task_struct *tsk); 23 22 extern void vtime_user_exit(struct task_struct *tsk); 24 23 extern void vtime_guest_enter(struct task_struct *tsk);