From: Joonsoo Kim Date: Mon, 4 Feb 2013 14:46:46 +0000 (+0900) Subject: mm/sl[au]b: correct allocation type check in kmalloc_slab() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~15^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1e0541674904db00e17ce646b0a1d54f59136a5;p=pandora-kernel.git mm/sl[au]b: correct allocation type check in kmalloc_slab() commit "slab: Common Kmalloc cache determination" made mistake in kmalloc_slab(). SLAB_CACHE_DMA is for kmem_cache creation, not for allocation. For allocation, we should use GFP_XXX to identify type of allocation. So, change SLAB_CACHE_DMA to GFP_DMA. Acked-by: Christoph Lameter Reported-by: Fengguang Wu Signed-off-by: Joonsoo Kim Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed