Remove bogus __GFP_COMP in dri dma_alloc_coherent call The new DMA allocator cannot handle __GFP_COMP here and will BUG(). It is not needed anyways and doesn't make sense to pass to dma_alloc_coherent. Signed-off-by: Andi Kleen --- drivers/char/drm/drm_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/drivers/char/drm/drm_pci.c =================================================================== --- linux.orig/drivers/char/drm/drm_pci.c +++ linux/drivers/char/drm/drm_pci.c @@ -84,7 +84,7 @@ drm_dma_handle_t *drm_pci_alloc(struct d return NULL; dmah->size = size; - dmah->vaddr = dma_alloc_coherent(&dev->pdev->dev, size, &dmah->busaddr, GFP_KERNEL | __GFP_COMP); + dmah->vaddr = dma_alloc_coherent(&dev->pdev->dev, size, &dmah->busaddr, GFP_KERNEL); #ifdef DRM_DEBUG_MEMORY if (dmah->vaddr == NULL) {