#ifndef __ASM_GENERIC_SEGMENT_H #define __ASM_GENERIC_SEGMENT_H /* * Only here because we have some old header files that expect it... * * New architectures probably don't want to have their own version. */ #endif /* __ASM_GENERIC_SEGMENT_H */ /git.distanz.ch/cgit.cgi/linux/net-next.git/atom/Documentation?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2016-04-13 05:55:29 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2016-04-15 09:44:02 +0100
commit9c18fcf7ae0ef87f0723dfd74c27d608c7486e0e (patch)
tree47e37ee905185e4b0021843cb7b1b2e483a035ce /Documentation
parent208fae5c3b9431013ad7bcea07cbcee114e7d163 (diff)
ARM: 8551/2: DMA: Fix kzalloc flags in __dma_alloc
Commit 19e6e5e5392b ("ARM: 8547/1: dma-mapping: store buffer information") allocates a structure meant for internal buffer management with the GFP flags of the buffer itself. This can trigger the following safeguard in the slab/slub allocator: if (unlikely(flags & GFP_SLAB_BUG_MASK)) { pr_emerg("gfp: %un", flags & GFP_SLAB_BUG_MASK); BUG(); } Fix this by filtering the flags that make the slab allocator unhappy. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Documentation')