summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2022-01-28 13:55:47 -0600
committerEric W. Biederman <ebiederm@xmission.com>2022-03-10 13:38:01 -0600
commit8ca07e17c9dd4c4afcb4a3f2ea8f0a0d41c0f982 (patch)
treed53b3b5084644ab0976c8300191a19fd6eb682b9 /kernel/time
parentc145137dc990fd67b52fbc52faae5ba46f168cca (diff)
downloadlinux-8ca07e17c9dd4c4afcb4a3f2ea8f0a0d41c0f982.tar.gz
linux-8ca07e17c9dd4c4afcb4a3f2ea8f0a0d41c0f982.tar.bz2
linux-8ca07e17c9dd4c4afcb4a3f2ea8f0a0d41c0f982.zip
task_work: Remove unnecessary include from posix_timers.h
Break a header file circular dependency by removing the unnecessary include of task_work.h from posix_timers.h. sched.h -> posix-timers.h posix-timers.h -> task_work.h task_work.h -> sched.h Add missing includes of task_work.h to: arch/x86/mm/tlb.c kernel/time/posix-cpu-timers.c Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lkml.kernel.org/r/20220309162454.123006-6-ebiederm@xmission.com Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/posix-cpu-timers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c
index 96b4e7810426..9190d9eb236d 100644
--- a/kernel/time/posix-cpu-timers.c
+++ b/kernel/time/posix-cpu-timers.c
@@ -15,6 +15,7 @@
#include <linux/workqueue.h>
#include <linux/compat.h>
#include <linux/sched/deadline.h>
+#include <linux/task_work.h>
#include "posix-timers.h"