From: Matthew Wilcox (Oracle) Date: Mon, 11 Dec 2023 18:14:41 +0000 (+0000) Subject: wait: Remove uapi header file from main header file X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6dfeff09d5ad331905c7066207053d286d58ac83;p=linux.git wait: Remove uapi header file from main header file There's really no overlap between uapi/linux/wait.h and linux/wait.h. There are two files which rely on the uapi file being implcitly included, so explicitly include it there and remove it from the main header file. Signed-off-by: Matthew Wilcox (Oracle) Signed-off-by: Kent Overstreet Reviewed-by: Christian Brauner --- diff --git a/include/linux/wait.h b/include/linux/wait.h index 3473b663176f1..8aa3372f21a08 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h @@ -9,7 +9,6 @@ #include #include -#include typedef struct wait_queue_entry wait_queue_entry_t; diff --git a/kernel/exit.c b/kernel/exit.c index ee9f43bed49a2..2ef33047371bc 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -69,8 +69,10 @@ #include #include #include - #include + +#include + #include #include diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c index 3028b2218aa44..7ade20e952321 100644 --- a/kernel/pid_namespace.c +++ b/kernel/pid_namespace.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "pid_sysctl.h" static DEFINE_MUTEX(pid_caches_mutex);