aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-05-23 02:07:22 -0700
committerDavid S. Miller <davem@davemloft.net>2006-05-23 02:07:22 -0700
commit42f142371e48fbc44956d57b4e506bb6ce673cd7 (patch)
treecbcf77d8bf8adc923c50e1fd53a8becd81952beb /Documentation
parent353b28bafd1b962359a866ff263a7fad833d29a1 (diff)
[SPARC64]: Respect gfp_t argument to dma_alloc_coherent().
Using asm-generic/dma-mapping.h does not work because pushing the call down to pci_alloc_coherent() causes the gfp_t argument of dma_alloc_coherent() to be ignored. Fix this by implementing things directly, and adding a gfp_t argument we can use in the internal call down to the PCI DMA implementation of pci_alloc_coherent(). This fixes massive memory corruption when using the sound driver layer, which passes things like __GFP_COMP down into these routines and (correctly) expects that to work. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions