Make panic= and panic_on_oops into core_params
commitf44dd164f37336f7e17fabf5740698fd10635172
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 22 Oct 2008 15:00:24 +0000 (22 10:00 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 21 Oct 2008 23:00:25 +0000 (22 10:00 +1100)
tree13af05d200a37e5936beaaf0edfd4c58d405fb1e
parentd0ea3d7d286aeda2a9216d76424abc285b87b7b4
Make panic= and panic_on_oops into core_params

This allows them to be examined and set after boot, plus means they
actually give errors if they are misused (eg. panic=yes).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/panic.c