* [PATCH] include buffer_head.h in actual users instead of fs.h (3/10)
@ 2002-05-23 12:26 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2002-05-23 12:26 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
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!!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-23 12:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-23 12:26 [PATCH] include buffer_head.h in actual users instead of fs.h (3/10) Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®