From: Takashi Iwai Date: Mon, 23 Jan 2006 14:49:18 +0000 (+0100) Subject: [ALSA] Use dma_alloc_coherent() hack on i386 only X-Git-Tag: v2.6.17-rc1~1129^2^2~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea50888d83cfb797ff7efadedc033b33bc2064bc;p=thirdparty%2Fkernel%2Flinux.git [ALSA] Use dma_alloc_coherent() hack on i386 only Modules: Memalloc module Use dma_alloc_coherent() hack on i386 only (as a valid arch). Signed-off-by: Takashi Iwai --- diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c index 9f2b88cb5877f..8360418d333ed 100644 --- a/sound/core/memalloc.c +++ b/sound/core/memalloc.c @@ -83,7 +83,7 @@ struct snd_mem_list { * Hacks */ -#if defined(__i386__) || defined(__ppc__) || defined(__x86_64__) +#if defined(__i386__) /* * A hack to allocate large buffers via dma_alloc_coherent() *