diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-16 01:49:24 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-21 03:26:31 +0300 |
commit | f551103cb964e9e6f5c03b3b8723424723731e76 (patch) | |
tree | 13865fc2fb6699c4a3763e16c10903b3610c0c36 /kernel/async.c | |
parent | 6d5e9d63683042a8d344cd5d6f9cf23613864a29 (diff) | |
download | linux-f551103cb964e9e6f5c03b3b8723424723731e76.tar.xz |
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.c | 5 |
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" |