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-Url: https://git.stricted.de/?a=commitdiff_plain;h=ea50888d83cfb797ff7efadedc033b33bc2064bc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 9f2b88cb5877..8360418d333e 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() *