summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2024-04-10 17:09:48 +0200
committerIngo Molnar <mingo@kernel.org>2024-04-17 13:37:23 +0200
commit08a36a48544d73bf153960245aec6c5fa23960de (patch)
tree2ee08f79f3ae74215652deaa0c8ab862112e4661 /include
parent036cbbafbd1eb2a7437912c2fe5fdefc9d52c309 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/vtime.h1
-rw-r--r--include/linux/vtime.h4
2 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-generic/vtime.h b/include/asm-generic/vtime.h
deleted file mode 100644
index b1a49677fe25..000000000000
--- a/include/asm-generic/vtime.h
+++ /dev/null
@@ -1 +0,0 @@
-/* no content, but patch(1) dislikes empty files */
diff --git a/include/linux/vtime.h b/include/linux/vtime.h
index 593466ceebed..29dd5b91dd7d 100644
--- a/include/linux/vtime.h
+++ b/include/linux/vtime.h
@@ -5,10 +5,6 @@
#include <linux/context_tracking_state.h>
#include <linux/sched.h>
-#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
-#include <asm/vtime.h>
-#endif
-
/*
* Common vtime APIs
*/