diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-25 16:48:42 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-25 16:50:09 +0100 |
commit | c6a564ffadc9105880329710164ee493f0de103c (patch) | |
tree | efb3a49e6ba88e5db5a6e2276cacd2179b1fddb2 /drivers/block/zram | |
parent | block: move block layer internals out of include/linux/genhd.h (diff) | |
download | linux-c6a564ffadc9105880329710164ee493f0de103c.tar.xz linux-c6a564ffadc9105880329710164ee493f0de103c.zip |
block: move the part_stat* helpers from genhd.h to a new header
These macros are just used by a few files. Move them out of genhd.h,
which is included everywhere into a new standalone header.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/zram')
-rw-r--r-- | drivers/block/zram/zram_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index 1bdb5793842b..76e75097e9ab 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -33,6 +33,7 @@ #include <linux/sysfs.h> #include <linux/debugfs.h> #include <linux/cpuhotplug.h> +#include <linux/part_stat.h> #include "zram_drv.h" |