commit | b4df32f4aeef8794d0135fc8dc250acb44cfee60 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yhlu.kernel@gmail.com> | Sat Jun 28 17:49:59 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Jul 08 13:16:07 2008 +0200 |
tree | 357d504a9cf6f3beb544b3ad36671e3052d9c7ed | |
parent | 7482b0e962e128c5b574aa29761f97164189ef14 [diff] |
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 <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>