Skip to content

Commit 08a36a4

Browse files
Alexander GordeevIngo Molnar
authored andcommitted
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Acked-by: Nicholas Piggin <[email protected]> Link: https://lore.kernel.org/r/f7cd245668b9ae61a55184871aec494ec9199c4a.1712760275.git.agordeev@linux.ibm.com
1 parent 036cbba commit 08a36a4

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

arch/powerpc/include/asm/Kbuild

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ generic-y += agp.h
66
generic-y += kvm_types.h
77
generic-y += mcs_spinlock.h
88
generic-y += qrwlock.h
9-
generic-y += vtime.h
109
generic-y += early_ioremap.h

include/asm-generic/vtime.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

include/linux/vtime.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
#include <linux/context_tracking_state.h>
66
#include <linux/sched.h>
77

8-
#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
9-
#include <asm/vtime.h>
10-
#endif
11-
128
/*
139
* Common vtime APIs
1410
*/

0 commit comments

Comments
 (0)