diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2014-09-10 14:17:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 09:40:19 -0700 |
commit | 7907ea428efbfb7cc645b1ae5723a1817348b358 (patch) | |
tree | 16319342717bd474cfdec81b244b4a593af7706f /arch/sparc/mm/fault_64.c | |
parent | e7f7dcadf97accf7a3f0fca58c8d3b4ffb563808 (diff) |
sparc32: dma_alloc_coherent must honour gfp flags
[ Upstream commit d1105287aabe88dbb3af825140badaa05cf0442c ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/mm/fault_64.c')
0 files changed, 0 insertions, 0 deletions