linux/arch/sparc64
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
..
boot
kernel [SPARC64]: Respect gfp_t argument to dma_alloc_coherent(). 2006-05-23 02:07:22 -07:00
lib
math-emu
mm [SPARC64]: Disable preemption during flush_tlb_pending(). 2006-04-30 22:54:27 -07:00
oprofile
prom
solaris
Kconfig [SPARC64]: Fix dependencies of HUGETLB_PAGE_SIZE_64K 2006-04-18 16:19:53 -07:00
Kconfig.debug
Makefile
defconfig [SPARC]: Handle UNWIND_INFO properly. 2006-05-12 12:45:50 -07:00