diff options
| author | 2007-09-21 09:19:54 +0200 | |
|---|---|---|
| committer | 2007-10-10 09:25:57 +0200 | |
| commit | f5ff8422bbdd59f8c1f699df248e1b7a11073027 (patch) | |
| tree | cdd0777acc58c0badd2d0ae66f3efc2f7318e776 /kernel/sched.c | |
| parent | Corrections in Documentation/block/ioprio.txt (diff) | |
| download | wireguard-linux-f5ff8422bbdd59f8c1f699df248e1b7a11073027.tar.xz wireguard-linux-f5ff8422bbdd59f8c1f699df248e1b7a11073027.zip | |
Fix warnings with !CONFIG_BLOCK
Hide everything in blkdev.h with CONFIG_BLOCK isn't set, and fixup
the (few) files that fail to build because they were relying on blkdev.h
pulling in extra includes for them.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'kernel/sched.c')
| -rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 6107a0cd6325..6c10fa796ca0 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -61,6 +61,7 @@ #include <linux/delayacct.h> #include <linux/reciprocal_div.h> #include <linux/unistd.h> +#include <linux/pagemap.h> #include <asm/tlb.h> |
