diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2006-01-05 05:31:23 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-05 05:31:23 -0500 |
commit | f3e2628bed0d5a88ced8239b35f1534557f9631c (patch) | |
tree | 5261ca866b3adffcb186d2b1f6db9f4e44302995 /drivers/mmc/mmci.c | |
parent | e9c091b47409255cefa1672041479d850b7b991a (diff) |
[MMC] mmci: kunmap_atomic() unmaps virtual address, not page
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/mmci.c')
-rw-r--r-- | drivers/mmc/mmci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmci.c b/drivers/mmc/mmci.c index 6d161c70014a..2b10a2d4ae09 100644 --- a/drivers/mmc/mmci.c +++ b/drivers/mmc/mmci.c | |||
@@ -300,7 +300,7 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id, struct pt_regs *regs) | |||
300 | /* | 300 | /* |
301 | * Unmap the buffer. | 301 | * Unmap the buffer. |
302 | */ | 302 | */ |
303 | mmci_kunmap_atomic(host, &flags); | 303 | mmci_kunmap_atomic(host, buffer, &flags); |
304 | 304 | ||
305 | host->sg_off += len; | 305 | host->sg_off += len; |
306 | host->size -= len; | 306 | host->size -= len; |