alpha: fix ALSA DMA mmap crash
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Wed, 2 Apr 2008 20:04:43 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Apr 2008 22:28:19 +0000 (15:28 -0700)
commitc143d43aa3149b83e4b40624a27aa2b18638afec
treee179afebfec65a61e2d71d87a35b27950256daaf
parent39d4c922b596633da86878b1a5cc881785b8e5fa
alpha: fix ALSA DMA mmap crash

Make dma_alloc_coherent respect gfp flags (__GFP_COMP is one that
matters).

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Tested-by: Michael Cree <mcree@orcon.net.nz>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/pci_iommu.c
include/asm-alpha/dma-mapping.h
include/asm-alpha/pci.h