From: Kent Overstreet Date: Mon, 11 Dec 2023 22:00:41 +0000 (-0500) Subject: restart_block: Trim includes X-Git-Tag: v6.8-rc1~4^2~7 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=cba6167f0adb07b6cd1b8758dd67718c772e108c;p=linux-2.6-block.git restart_block: Trim includes We don't actually use any timekeeping types, no need to pull in time64.h. Also, sched.h uses restart_block; add it as a direct dependency. Signed-off-by: Kent Overstreet --- diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h index 980a65594412..13f17676c5f4 100644 --- a/include/linux/restart_block.h +++ b/include/linux/restart_block.h @@ -7,8 +7,8 @@ #include #include -#include +struct __kernel_timespec; struct timespec; struct old_timespec32; struct pollfd; diff --git a/include/linux/sched.h b/include/linux/sched.h index d341a6c302d6..dd002d193726 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include