aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2022-01-06 12:24:05 +0100
committerIngo Molnar <mingo@kernel.org>2022-03-15 12:57:41 +0100
commitd274699b498a3d1868a5544a658311004a2fcfbc (patch)
tree84d5ce42d1b97737796d4e5d7f26339ebe9ccbcd
parent9d02b60b2f8be35b083b1e4cf484834b68f90ab8 (diff)
downloadtip-d274699b498a3d1868a5544a658311004a2fcfbc.tar.gz
headers/deps: delay: Optimize <linux/delay.h> dependencies, remove <linux/sched.h> inclusion
-------------------------------------------------------------------- | Combined, preprocessed C code size of header, without line markers, | with comments stripped: ------------------------- before: | #include <linux/delay.h> | LOC: 858 | headers: 72 after: | #include <linux/delay.h> | LOC: 337 | headers: 43 Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--include/linux/delay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/delay.h b/include/linux/delay.h
index 039e7e0c7378d6..c989fb269cffd2 100644
--- a/include/linux/delay.h
+++ b/include/linux/delay.h
@@ -20,7 +20,7 @@
*/
#include <linux/math.h>
-#include <linux/sched.h>
+#include <linux/sched/types.h>
extern unsigned long loops_per_jiffy;