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

sched/vtime: Do not include <asm/vtime.h> header

There is no architecture-specific code or data left
that generic <linux/vtime.h> needs to know about.
Thus, avoid the inclusion of <asm/vtime.h> header.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Link: https://lore.kernel.org/r/f7cd245668b9ae61a55184871aec494ec9199c4a.1712760275.git.agordeev@linux.ibm.com

authored by

Alexander Gordeev and committed by
Ingo Molnar
08a36a48 036cbbaf

-6
-1
arch/powerpc/include/asm/Kbuild
··· 6 6 generic-y += kvm_types.h 7 7 generic-y += mcs_spinlock.h 8 8 generic-y += qrwlock.h 9 - generic-y += vtime.h 10 9 generic-y += early_ioremap.h
-1
include/asm-generic/vtime.h
··· 1 - /* no content, but patch(1) dislikes empty files */
-4
include/linux/vtime.h
··· 5 5 #include <linux/context_tracking_state.h> 6 6 #include <linux/sched.h> 7 7 8 - #ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE 9 - #include <asm/vtime.h> 10 - #endif 11 - 12 8 /* 13 9 * Common vtime APIs 14 10 */