mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
Add build option to to set the default panic timeout.
This commit is contained in:
parent
3414e45fe0
commit
207f66e23a
|
|
@ -737,6 +737,12 @@ config SYSCTL
|
|||
config ANON_INODES
|
||||
bool
|
||||
|
||||
config PANIC_TIMEOUT
|
||||
int "Default panic timeout"
|
||||
default 0
|
||||
help
|
||||
Set default panic timeout.
|
||||
|
||||
menuconfig EMBEDDED
|
||||
bool "Configure standard kernel features (for small systems)"
|
||||
help
|
||||
|
|
|
|||
|
|
@ -29,7 +29,10 @@ static int pause_on_oops;
|
|||
static int pause_on_oops_flag;
|
||||
static DEFINE_SPINLOCK(pause_on_oops_lock);
|
||||
|
||||
int panic_timeout;
|
||||
#ifndef CONFIG_PANIC_TIMEOUT
|
||||
#define CONFIG_PANIC_TIMEOUT 0
|
||||
#endif
|
||||
int panic_timeout = CONFIG_PANIC_TIMEOUT;
|
||||
|
||||
ATOMIC_NOTIFIER_HEAD(panic_notifier_list);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user