Skip to content

Commit

Permalink
sched: move the <linux/blkdev.h> include out of kernel/sched/sched.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Jens Axboe committed Oct 18, 2021
1 parent 545c664 commit 6a5850d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "sched.h"

#include <linux/nospec.h>

#include <linux/blkdev.h>
#include <linux/kcov.h>
#include <linux/scs.h>

Expand Down
1 change: 0 additions & 1 deletion kernel/sched/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 6a5850d

Please sign in to comment.