block: simplify BIOVEC_PHYS_MERGEABLE
Turn the macro into an inline, move it to blk.h and simplify the arch hooks a bit. Also rename the function to biovec_phys_mergeable as there is no need to shout. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- arch/arm/include/asm/io.h 2 additions, 3 deletionsarch/arm/include/asm/io.h
- arch/arm64/include/asm/io.h 2 additions, 3 deletionsarch/arm64/include/asm/io.h
- arch/x86/include/asm/io.h 2 additions, 3 deletionsarch/x86/include/asm/io.h
- block/bio.c 1 addition, 1 deletionblock/bio.c
- block/blk-integrity.c 2 additions, 2 deletionsblock/blk-integrity.c
- block/blk-merge.c 5 additions, 5 deletionsblock/blk-merge.c
- block/blk.h 14 additions, 0 deletionsblock/blk.h
- include/linux/bio.h 0 additions, 13 deletionsinclude/linux/bio.h
Loading
Please register or sign in to comment