Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16727
b: refs/heads/master
c: f3e2628
h: refs/heads/master
i:
  16725: 7f847bb
  16723: 906bf64
  16719: f505c46
v: v3
  • Loading branch information
Evgeniy Polyakov authored and Russell King committed Jan 5, 2006
1 parent 71937b0 commit a96bf40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: e9c091b47409255cefa1672041479d850b7b991a
refs/heads/master: f3e2628bed0d5a88ced8239b35f1534557f9631c
2 changes: 1 addition & 1 deletion trunk/drivers/mmc/mmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id, struct pt_regs *regs)
/*
* Unmap the buffer.
*/
mmci_kunmap_atomic(host, &flags);
mmci_kunmap_atomic(host, buffer, &flags);

host->sg_off += len;
host->size -= len;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/mmc/mmci.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ static inline char *mmci_kmap_atomic(struct mmci_host *host, unsigned long *flag
return kmap_atomic(sg->page, KM_BIO_SRC_IRQ) + sg->offset;
}

static inline void mmci_kunmap_atomic(struct mmci_host *host, unsigned long *flags)
static inline void mmci_kunmap_atomic(struct mmci_host *host, void *buffer, unsigned long *flags)
{
kunmap_atomic(host->sg_ptr->page, KM_BIO_SRC_IRQ);
kunmap_atomic(buffer, KM_BIO_SRC_IRQ);
local_irq_restore(*flags);
}

0 comments on commit a96bf40

Please sign in to comment.