ALSA: pcm - Call pgprot_noncached() for vmalloc'ed buffers
authorTakashi Iwai <tiwai@suse.de>
Mon, 18 Jan 2010 13:58:57 +0000 (14:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Jan 2010 14:00:34 +0000 (15:00 +0100)
commitc32d977b8157bf67cdf47729ce7dd054a26eb534
treefedbd1c0d4382e88362abf81f719e6f127e19fa7
parent3e879d7bac705be4813a0ec9560cbe31db4b269f
ALSA: pcm - Call pgprot_noncached() for vmalloc'ed buffers

pgprot_noncached() can be set for vmalloc'ed buffers safely, and we'd
need non-cached behavior more or less, even for the intermediate ring-
buffers.

Now snd_pcm_lib_mmap_vmalloc() is added as the common PCM mmap callback
that is coupled with snd_pcm_lib_alloc_vmalloc_buffer() & co.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_native.c
sound/drivers/vx/vx_pcm.c
sound/mips/sgio2audio.c
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
sound/usb/ua101.c
sound/usb/usbaudio.c