2014/1/16 Marek Szyprowski <[email protected]>: >> @@ -3019,17 +3019,31 @@ static void *intel_alloc_coherent(struct device >> *hwdev, size_t size, >> flags |= GFP_DMA32; >> } >> - vaddr = (void *)__get_free_pages(flags, order); >> - if (!vaddr) >> + if (!(flags & GFP_ATOMIC)) { > > > GFP_ATOMIC is not a flag, so please change the above check to: > if (flags & __GFP_WAIT)
Thanks for your review. I'll fix it in the next version. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

