dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/mmc/card
Ben Dooks 051913dada mmc_block: do not DMA to stack
In the write recovery routine, the data to get from the card
is allocated from the stack. The DMA mapping documentation says
explicitly stack memory is not mappable by any of the DMA calls.

Change to using kmalloc() to allocate the memory for the result
from the card and then free it once we've finished with the
transaction.

[ Changed to GFP_KERNEL allocation - Pierre Ossman ]

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
2009-06-13 22:43:01 +02:00
..
Kconfig
Makefile
block.c mmc_block: do not DMA to stack 2009-06-13 22:43:01 +02:00
mmc_test.c mmc_test: fix basic read test 2009-02-18 21:01:14 +01:00
queue.c block: implement and enforce request peek/start/fetch 2009-05-11 09:52:18 +02:00
queue.h
sdio_uart.c proc tty: switch sdio_uart to ->proc_fops 2009-04-01 08:59:09 -07:00