Commit 6014540e authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] include buffer_head.h in actual users instead of fs.h (3/10)

Remove unused bh_kmap/bh_kunmap inlines from highmem.h.
parent 503a7b23
......@@ -18,16 +18,6 @@ unsigned int nr_free_highpages(void);
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!!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment