summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-15 17:49:24 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-20 19:26:31 -0500
commitf551103cb964e9e6f5c03b3b8723424723731e76 (patch)
tree13865fc2fb6699c4a3763e16c10903b3610c0c36 /ipc
parent6d5e9d63683042a8d344cd5d6f9cf23613864a29 (diff)
sched.h: move pid helpers to pid.h
This is needed for killing the sched.h dependency on rcupdate.h, and pid.h is a better place for this code anyways. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/util.h b/ipc/util.h
index 67bdd2aa2c28..a55d6cebe6d3 100644
--- a/ipc/util.h
+++ b/ipc/util.h
@@ -14,6 +14,7 @@
#include <linux/unistd.h>
#include <linux/err.h>
#include <linux/ipc_namespace.h>
+#include <linux/pid.h>
/*
* The IPC ID contains 2 separate numbers - index and sequence number.