commit | c091c71ad2218fc50a07b3d1dab85783f3b77efd | [log] [tgz] |
---|---|---|
author | Marek Szyprowski <m.szyprowski@samsung.com> | Fri Jan 24 14:49:58 2014 +0100 |
committer | Marek Szyprowski <m.szyprowski@samsung.com> | Tue Feb 11 09:40:15 2014 +0100 |
tree | d43de3c8618f2517910055de9f284006628752ec | |
parent | 10c8562f932d89c030083e15f9279971ed637136 [diff] |
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 <m.szyprowski@samsung.com>