David S. Miller 42f142371e [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>
2006-05-23 02:07:22 -07:00
..
2006-03-20 01:11:43 -08:00
2006-03-28 09:16:08 -08:00
2006-01-10 08:01:40 -08:00
2006-02-15 15:32:22 -08:00
2006-03-20 01:14:22 -08:00
2006-03-20 01:14:22 -08:00
2005-11-07 14:12:08 -08:00