Skip to content

Commit

Permalink
[ALSA] Use dma_alloc_coherent() hack on i386 only
Browse files Browse the repository at this point in the history
Modules: Memalloc module

Use dma_alloc_coherent() hack on i386 only (as a valid arch).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Mar 22, 2006
1 parent c82590d commit ea50888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/core/memalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
*
Expand Down

0 comments on commit ea50888

Please sign in to comment.