mm: remove the pgprot argument to __vmalloc
[openwrt/staging/blogic.git] / sound / core / memalloc.c
index a83553fbedf00a8c2bf338355d1523dc80be3628..bea46ed157a6d008d8b3bc41fb314fa7f88f9297 100644 (file)
@@ -143,7 +143,7 @@ int snd_dma_alloc_pages(int type, struct device *device, size_t size,
                break;
        case SNDRV_DMA_TYPE_VMALLOC:
                gfp = snd_mem_get_gfp_flags(device, GFP_KERNEL | __GFP_HIGHMEM);
-               dmab->area = __vmalloc(size, gfp, PAGE_KERNEL);
+               dmab->area = __vmalloc(size, gfp);
                dmab->addr = 0;
                break;
 #ifdef CONFIG_HAS_DMA