sched/headers: Only include <linux/entry-common.h> when CONFIG_GENERIC_ENTRY=y

This header is not (yet) standalone.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Ingo Molnar 2022-03-15 10:33:53 +01:00
parent ccdbf33c23
commit a7b2553b5e

View File

@ -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>