summaryrefslogtreecommitdiffstats
path: root/kernel/async.c
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 /kernel/async.c
parent6d5e9d63683042a8d344cd5d6f9cf23613864a29 (diff)
downloadlinux-f551103cb964e9e6f5c03b3b8723424723731e76.tar.gz
linux-f551103cb964e9e6f5c03b3b8723424723731e76.tar.bz2
linux-f551103cb964e9e6f5c03b3b8723424723731e76.zip
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 'kernel/async.c')
-rw-r--r--kernel/async.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/async.c b/kernel/async.c
index b2c4ba5686ee..79f6a3034b1f 100644
--- a/kernel/async.c
+++ b/kernel/async.c
@@ -46,11 +46,12 @@ asynchronous and synchronous parts of the kernel.
#include <linux/async.h>
#include <linux/atomic.h>
-#include <linux/ktime.h>
#include <linux/export.h>
-#include <linux/wait.h>
+#include <linux/ktime.h>
+#include <linux/pid.h>
#include <linux/sched.h>
#include <linux/slab.h>
+#include <linux/wait.h>
#include <linux/workqueue.h>
#include "workqueue_internal.h"