From: Marek Szyprowski Date: Fri, 24 Jan 2014 13:49:58 +0000 (+0100) Subject: x86: dma-mapping: fix GFP_ATOMIC macro usage X-Git-Tag: v3.14-rc4~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c091c71ad2218fc50a07b3d1dab85783f3b77efd;p=pandora-kernel.git x86: dma-mapping: fix GFP_ATOMIC macro usage GFP_ATOMIC is not a single gfp flag, but a macro which expands to the other flags, where meaningful is the LACK of __GFP_WAIT flag. To check if caller wants to perform an atomic allocation, the code must test for a lack of the __GFP_WAIT flag. This patch fixes the issue introduced in v3.5-rc1. CC: stable@vger.kernel.org Signed-off-by: Marek Szyprowski --- Reading git-diff-tree failed