From: H. Peter Anvin Date: Thu, 25 Oct 2007 23:09:38 +0000 (-0700) Subject: x86 setup: sizeof() is unsigned, unbreak comparisons X-Git-Tag: v2.6.24-rc2~130^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6e1ace9904b72478f0c5a5aa7bd174cb6f62561;p=pandora-kernel.git x86 setup: sizeof() is unsigned, unbreak comparisons We use signed values for limit checking since the values can go negative under certain circumstances. However, sizeof() is unsigned and forces the comparison to be unsigned, so move the comparison into the heap_free() macros so we can ensure it is a signed comparison. Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed