commit f3d13b6752e20cdd193d0265cc6b8f1d814dd869 Author: Matthieu CASTET Date: Wed Jan 30 15:27:00 2013 +0100 make snd_pcm_lib_alloc_vmalloc_buffer memory uncached diff --git a/sound/core/pcm_memory.c b/sound/core/pcm_memory.c index 69e01c4..1740d39 100644 --- a/sound/core/pcm_memory.c +++ b/sound/core/pcm_memory.c @@ -425,7 +425,7 @@ int _snd_pcm_lib_alloc_vmalloc_buffer(struct snd_pcm_substream *substream, return 0; /* already large enough */ vfree(runtime->dma_area); } - runtime->dma_area = __vmalloc(size, gfp_flags, PAGE_KERNEL); + runtime->dma_area = __vmalloc(size, gfp_flags, pgprot_noncached(PAGE_KERNEL)); if (!runtime->dma_area) return -ENOMEM; runtime->dma_bytes = size;