From: Andrew Morton Date: Tue, 26 Jul 2011 00:12:18 +0000 (-0700) Subject: mm/memblock.c: avoid abuse of RED_INACTIVE X-Git-Tag: v3.1-rc1~241^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9d8c3d0896bfa5b57531ecc41a85ffbc6d87dbe;p=pandora-kernel.git mm/memblock.c: avoid abuse of RED_INACTIVE RED_INACTIVE is a slab thing, and reusing it for memblock was inappropriate, because memblock is dealing with phys_addr_t's which have a Kconfigurable sizeof(). Create a new poison type for this application. Fixes the sparse warning warning: cast truncates bits from constant value (9f911029d74e35b becomes 9d74e35b) Reported-by: H Hartley Sweeten Tested-by: H Hartley Sweeten Acked-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed