]> git.baikalelectronics.ru Git - kernel.git/commitdiff
sched: move the <linux/blkdev.h> include out of kernel/sched/sched.h
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Sep 2021 12:33:18 +0000 (14:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:01 +0000 (06:17 -0600)
Only core.c needs blkdev.h, so move the #include statement there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/sched/core.c
kernel/sched/sched.h

index 1bba4128a3e68b6a5db9fe5bcf7ff2cb760b0232..92ef7b68198c4c72376ef6ef44fcab6d109411f5 100644 (file)
@@ -13,7 +13,7 @@
 #include "sched.h"
 
 #include <linux/nospec.h>
-
+#include <linux/blkdev.h>
 #include <linux/kcov.h>
 #include <linux/scs.h>
 
index 3d3e5793e11727a955fff8bc7678b921b7630ecb..66128dfc05fb3cd09183493c5489a4912d47801d 100644 (file)
@@ -37,7 +37,6 @@
 
 #include <linux/binfmts.h>
 #include <linux/bitops.h>
-#include <linux/blkdev.h>
 #include <linux/compat.h>
 #include <linux/context_tracking.h>
 #include <linux/cpufreq.h>