Re: [PATCH] x86: dma-mapping: fix GFP_ATOMIC macro usage

2014-01-20 Thread Marek Szyprowski
Hello, On 2014-01-17 11:49, Andy Whitcroft wrote: On Fri, Jan 17, 2014 at 8:46 AM, Marek Szyprowski wrote: > GFP_ATOMIC is not a single gfp flag, but a macro which expands to the other > flags and LACK of __GFP_WAIT flag. To check if caller wanted to perform an > atomic allocation, the code mus

Re: [PATCH] x86: dma-mapping: fix GFP_ATOMIC macro usage

2014-01-17 Thread Andy Whitcroft
On Fri, Jan 17, 2014 at 8:46 AM, Marek Szyprowski wrote: > GFP_ATOMIC is not a single gfp flag, but a macro which expands to the other > flags and LACK of __GFP_WAIT flag. To check if caller wanted to perform an > atomic allocation, the code must test __GFP_WAIT flag presence. This patch > fixes t

[PATCH] x86: dma-mapping: fix GFP_ATOMIC macro usage

2014-01-17 Thread Marek Szyprowski
GFP_ATOMIC is not a single gfp flag, but a macro which expands to the other flags and LACK of __GFP_WAIT flag. To check if caller wanted to perform an atomic allocation, the code must test __GFP_WAIT flag presence. This patch fixes the issue introduced in v3.5-rc1 CC: sta...@vger.kernel.org Signed