Signed-off-by: Simon Horman Index: kexec-tools/kexec/arch/i386/crashdump-x86.c =================================================================== --- kexec-tools.orig/kexec/arch/i386/crashdump-x86.c 2010-02-01 23:07:19.000000000 +1100 +++ kexec-tools/kexec/arch/i386/crashdump-x86.c 2010-02-01 23:07:20.000000000 +1100 @@ -111,7 +111,7 @@ static int get_crash_memory_ranges(struc } /* First 640K already registered */ - if (start >= 0x00000000ULL && end <= 0x0009ffffULL) + if (end <= 0x0009ffff) continue; crash_memory_range[memory_ranges].start = start; Index: kexec-tools/kexec/arch/x86_64/crashdump-x86_64.c =================================================================== --- kexec-tools.orig/kexec/arch/x86_64/crashdump-x86_64.c 2010-02-01 23:07:19.000000000 +1100 +++ kexec-tools/kexec/arch/x86_64/crashdump-x86_64.c 2010-02-01 23:07:20.000000000 +1100 @@ -233,7 +233,7 @@ static int get_crash_memory_ranges(struc } /* First 640K already registered */ - if (start >= 0x00000000 && end <= 0x0009ffff) + if (end <= 0x0009ffff) continue; crash_memory_range[memory_ranges].start = start;