Messages in this thread Patch in this message | | | Date | Thu, 23 May 2002 13:26:43 +0100 | From | Christoph Hellwig <> | Subject | [PATCH] include buffer_head.h in actual users instead of fs.h (3/10) |
| |
Remove unused bh_kmap/bh_kunmap inlines from highmem.h.
--- 1.14/include/linux/highmem.h Mon Mar 25 10:51:55 2002 +++ edited/include/linux/highmem.h Thu May 23 14:18:04 2002 @@ -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!! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |