diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-06-08 23:33:57 +0100 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2009-06-13 22:43:01 +0200 |
commit | 051913dada046ac948eb6f48c0717fc25de2a917 (patch) | |
tree | ddb00a84cd989614acff2e425f4aba5c23231fd9 /kernel/audit.c | |
parent | be3f4ae0c0c56aab903aceaceed4b9d8418e180e (diff) |
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>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions