]> Pileus Git - ~andy/linux/blobdiff - sound/core/memalloc.c
Merge branches 'doc', 'multitouch', 'upstream' and 'upstream-fixes' into for-linus
[~andy/linux] / sound / core / memalloc.c
index 9e92441f9b78fb3b51c5924ae1052e980629d1cc..16bd9c03679b16dd18d119495a7ab0e530fcbd0c 100644 (file)
@@ -192,7 +192,8 @@ int snd_dma_alloc_pages(int type, struct device *device, size_t size,
        dmab->bytes = 0;
        switch (type) {
        case SNDRV_DMA_TYPE_CONTINUOUS:
-               dmab->area = snd_malloc_pages(size, (unsigned long)device);
+               dmab->area = snd_malloc_pages(size,
+                                       (__force gfp_t)(unsigned long)device);
                dmab->addr = 0;
                break;
 #ifdef CONFIG_HAS_DMA