mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
mm: only include blk_types in swap.h if CONFIG_SWAP is enabled
It's only needed for the CONFIG_SWAP-only use of bio_end_io_t. Because CONFIG_SWAP implies CONFIG_BLOCK this will allow to drop some ifdefs in blk_types.h. Instead we'll need to add a few explicit includes that were implicit before, though. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
9f08217120
commit
be297968da
7 changed files with 9 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
|||
* Copyright (C) 2006 Ingo Molnar <mingo@elte.hu>
|
||||
*
|
||||
*/
|
||||
#include <linux/bvec.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/file.h>
|
||||
#include <linux/pagemap.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue