From: Yinghai Lu Date: Sun, 29 Jun 2008 00:49:59 +0000 (-0700) Subject: x86: fix warning in e820_reserve_resources with 32bit X-Git-Tag: v2.6.27-rc1~1106^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4df32f4aeef8794d0135fc8dc250acb44cfee60;p=pandora-kernel.git x86: fix warning in e820_reserve_resources with 32bit when 64bit resource is not enabled, we get: arch/x86/kernel/e820.c: In function ‘e820_reserve_resources’: arch/x86/kernel/e820.c:1217: warning: comparison is always false due to limited range of data type because res->start/end is resource_t aka u32. it will overflow. fix it with temp end of u64 Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed