summaryrefslogtreecommitdiffstats
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-11-19 16:38:12 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-11-24 18:41:34 +0100
commit3e82d012e9281a0b6388ff2356e8396b9d781e1c (patch)
treec76320422bd3988e499680662b3bebbf9796589b /crypto/ansi_cprng.c
parentARM: dma-mapping: functions to allocate/free a coherent buffer (diff)
downloadlinux-3e82d012e9281a0b6388ff2356e8396b9d781e1c.tar.xz
linux-3e82d012e9281a0b6388ff2356e8396b9d781e1c.zip
ARM: dma-mapping: fix coherent arch dma_alloc_coherent()
The coherent architecture dma_alloc_coherent was using kmalloc/kfree to manage the memory. dma_alloc_coherent() is expected to work with a granularity of a page, so this is wrong. Fix it by using the helper functions now provided. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions