]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - sound/core/pcm_memory.c
mm: remove the pgprot argument to __vmalloc
[thirdparty/linux.git] / sound / core / pcm_memory.c
index fcab37ea66417791c156bdd5dd42d7a18ee41218..860935e3aea492010c78e6274082dc32c5203e63 100644 (file)
@@ -460,7 +460,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);
        if (!runtime->dma_area)
                return -ENOMEM;
        runtime->dma_bytes = size;