powerpc/ep8248e: Fix compile problem if !CONFIG_FS_ENET
[pandora-kernel.git] / kernel / kexec.c
index cb85c79..1c5fcac 100644 (file)
@@ -1217,7 +1217,7 @@ static int __init parse_crashkernel_mem(char                      *cmdline,
                }
 
                /* match ? */
-               if (system_ram >= start && system_ram <= end) {
+               if (system_ram >= start && system_ram < end) {
                        *crash_size = size;
                        break;
                }