diff options
author | Daniel Hellstrom | 2014-09-10 14:17:52 +0200 |
---|---|---|
committer | David S. Miller | 2014-09-10 23:03:28 +0200 |
commit | d1105287aabe88dbb3af825140badaa05cf0442c (patch) | |
tree | 4a2e91fa69c62cf249d3728ae37586870c1ff955 /arch/sparc/include | |
parent | sparc32, leon: Make leon_dma_ops avaiable when !CONFIG_PCI (diff) | |
download | kernel-qcow2-linux-d1105287aabe88dbb3af825140badaa05cf0442c.tar.gz kernel-qcow2-linux-d1105287aabe88dbb3af825140badaa05cf0442c.tar.xz kernel-qcow2-linux-d1105287aabe88dbb3af825140badaa05cf0442c.zip |
sparc32: dma_alloc_coherent must honour gfp flags
dma_zalloc_coherent() calls dma_alloc_coherent(__GFP_ZERO)
but the sparc32 implementations sbus_alloc_coherent() and
pci32_alloc_coherent() doesn't take the gfp flags into
account.
Tested on the SPARC32/LEON GRETH Ethernet driver which fails
due to dma_alloc_coherent(__GFP_ZERO) returns non zeroed
pages.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
0 files changed, 0 insertions, 0 deletions