diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-18 04:54:41 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-02-18 04:54:41 -0800 |
| commit | f9d4cdfcaca93884ca6eda81ee1e0d0e9a6923b0 (patch) | |
| tree | 45a662699d928000811bbc43af4a6fa35d2123ad /include/linux | |
| parent | 0ad0b87dfc18c3aaabddc580b8d2dad7faebf4d1 (diff) | |
[PATCH] defer panic for too many items in boot parameter line
From: Werner Almesberger <werner@almesberger.net>
When passing too many unrecognized boot command line options (which become
arguments or environment variables), the 2.6 kernel panics (unlike 2.4,
which just ignores the extra items). Unfortunately, this happens before
the console is initialized, so all you get is a kernel that dies quickly,
for no apparent reason.
This is particularly irritating if using UML with
init=something wi th a lot of ar gu men t s
The patch below delays the panic until after console_init.
(akpm: I mainly added this in because we have other places where the
panic-later-on machinery is needed).
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
