diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-01-24 13:49:58 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-05 16:13:45 (GMT) |
commit | 42458ecf9f1498ff0b227b59b23eee9890abbc12 (patch) | |
tree | 32c759aa9def4b0a578f18fc890684fe20dde2a3 /arch/x86/kernel/cpu/perf_event.c | |
parent | 7addaee35a868cd036c0d5a64388380ce47c1bc5 (diff) | |
download | linux-fsl-qoriq-42458ecf9f1498ff0b227b59b23eee9890abbc12.tar.xz |
x86: dma-mapping: fix GFP_ATOMIC macro usage
commit c091c71ad2218fc50a07b3d1dab85783f3b77efd upstream.
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.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event.c')
0 files changed, 0 insertions, 0 deletions