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: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea50888d83cfb797ff7efadedc033b33bc2064bc;p=linux-2.6 [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 9f2b88cb58..8360418d33 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() *