summaryrefslogtreecommitdiffstats
path: root/kernel/pid_namespace.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-12-11 18:14:41 +0000
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-20 19:26:31 -0500
commit6dfeff09d5ad331905c7066207053d286d58ac83 (patch)
treea12ef4d8831962cd2f42e3192eed8b75d3865c59 /kernel/pid_namespace.c
parent8b7787a543cde905e53eaf29172c9472fe8a6a75 (diff)
downloadlinux-6dfeff09d5ad331905c7066207053d286d58ac83.tar.gz
linux-6dfeff09d5ad331905c7066207053d286d58ac83.tar.bz2
linux-6dfeff09d5ad331905c7066207053d286d58ac83.zip
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) <willy@infradead.org> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Reviewed-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'kernel/pid_namespace.c')
-rw-r--r--kernel/pid_namespace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c
index 3028b2218aa4..7ade20e95232 100644
--- a/kernel/pid_namespace.c
+++ b/kernel/pid_namespace.c
@@ -23,6 +23,7 @@
#include <linux/sched/task.h>
#include <linux/sched/signal.h>
#include <linux/idr.h>
+#include <uapi/linux/wait.h>
#include "pid_sysctl.h"
static DEFINE_MUTEX(pid_caches_mutex);