[Patch][2.4] Oops if limit of memory via 'mem=123' failed.

From: Peter Seiderer (Peter.Seiderer@ciselant.de)
Date: Wed May 28 2003 - 09:41:35 EST


Hello,
the following patch would have saved me some time in wondering about the
'mem=XXX' kernel-parameter (more specific that initrd failed if mem=XXX is
greater than the available physical memory size).
Please apply if you think it would be helpful to other.
Peter

--- linux-2.4.20/arch/i386/kernel/setup.c_orig 2003-05-28
12:57:39.000000000 +0200
+++ linux-2.4.20/arch/i386/kernel/setup.c 2003-05-28
13:07:21.000000000 +0200
@@ -433,6 +433,7 @@
}
}
}
+ printk(KERN_ERR "Ooops! Limit of memory to %016Lx failed!\n", size);
}
static void __init add_memory_region(unsigned long long start,
unsigned long long size, int type)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/