block: Turn bvec_k{un,}map_irq() into static inline functions
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 21 Oct 2010 08:32:29 +0000 (10:32 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 21 Oct 2010 08:32:29 +0000 (10:32 +0200)
commit11a691bea48887c27425cc40bf291e74c922df25
treecfb2ef5f4beec9ff27baa3427e16997132779740
parent7681bfeeccff5efa9eb29bf09249a3c400b15327
block: Turn bvec_k{un,}map_irq() into static inline functions

Convert bvec_k{un,}map_irq() from macros to static inline functions if
!CONFIG_HIGHMEM, so we can easier detect mistakes like the one fixed in
93055c31045a2d5599ec613a0c6cdcefc481a460 ("ps3disk: passing wrong variable =
to
bvec_kunmap_irq()")

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
include/linux/bio.h