include buffer_head.h in actual users instead of fs.h (3/10)
PATCH 1/1 include buffer_head.h in actual users instead of fs.h (3/10)
Remove unused bh_kmap/bh_kunmap inlines from highmem.h.
include/linux/highmem.h +0 -10
@@ -18,16 +18,6 @@extern void create_bounce (unsigned long pfn,int gfp,struct bio **bio_orig);extern void check_highmem_ptes (void ); -static inline char *bh_kmap (struct buffer_head *bh) -{ -return kmap (bh->b_page) +bh_offset (bh); -} - -static inline void bh_kunmap (struct buffer_head *bh) -{ -kunmap (bh->b_page); -} -/* * remember to add offset! and never ever reenable interrupts between a * bio_kmap_irq and bio_kunmap_irq!!