diff options
-rw-r--r-- | kernel/sched/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index aa9e14ce94fb..bf443f470f28 100644 --- 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> |