projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdbf33
)
sched/headers: Only include <linux/entry-common.h> when CONFIG_GENERIC_ENTRY=y
author
Ingo Molnar
<mingo@kernel.org>
Tue, 15 Mar 2022 09:33:53 +0000
(10:33 +0100)
committer
Ingo Molnar
<mingo@kernel.org>
Tue, 15 Mar 2022 09:33:53 +0000
(10:33 +0100)
This header is not (yet) standalone.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
patch
|
blob
|
history
diff --git
a/kernel/sched/core.c
b/kernel/sched/core.c
index aa9e14ce94fb3db58a30239d79ad119ef3bd16b1..bf443f470f28750bfabef81c645cf49d589359ea 100644
(file)
--- a/
kernel/sched/core.c
+++ b/
kernel/sched/core.c
@@
-63,7
+63,9
@@
#include <linux/workqueue_api.h>
#ifdef CONFIG_PREEMPT_DYNAMIC
-# include <linux/entry-common.h>
+# ifdef CONFIG_GENERIC_ENTRY
+# include <linux/entry-common.h>
+# endif
#endif
#include <uapi/linux/sched/types.h>