Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130704
b: refs/heads/master
c: c52440a
h: refs/heads/master
v: v3
  • Loading branch information
Alberto Bertogli authored and Jens Axboe committed Feb 2, 2009
1 parent 9e8f25e commit eaa2b63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20b636bf7c946da260391cd4570b16506f140a2c
refs/heads/master: c52440a69df22dca69794936a91e2fb529a707fb
6 changes: 4 additions & 2 deletions trunk/include/linux/bio.h
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ extern struct biovec_slab bvec_slabs[BIOVEC_NR_POOLS] __read_mostly;
*
* This function MUST be inlined - it plays with the CPU interrupt flags.
*/
static inline char *bvec_kmap_irq(struct bio_vec *bvec, unsigned long *flags)
static __always_inline char *bvec_kmap_irq(struct bio_vec *bvec,
unsigned long *flags)
{
unsigned long addr;

Expand All @@ -472,7 +473,8 @@ static inline char *bvec_kmap_irq(struct bio_vec *bvec, unsigned long *flags)
return (char *) addr + bvec->bv_offset;
}

static inline void bvec_kunmap_irq(char *buffer, unsigned long *flags)
static __always_inline void bvec_kunmap_irq(char *buffer,
unsigned long *flags)
{
unsigned long ptr = (unsigned long) buffer & PAGE_MASK;

Expand Down

0 comments on commit eaa2b63

Please sign in to comment.