projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb2df1
)
Revert "Add build option to to set the default panic timeout."
author
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 15:09:40 +0000
(23:09 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 15:09:40 +0000
(23:09 +0800)
This reverts commit
207f66e23a69bc23265e1f133702bc59c3096696
.
init/Kconfig
patch
|
blob
|
history
kernel/panic.c
patch
|
blob
|
history
diff --git
a/init/Kconfig
b/init/Kconfig
index 184a603ad72bf9487e8ed0536aecfabc7b3d3c31..714597c6f8426c85227892c1b1c9eabdd42bf0e1 100644
(file)
--- a/
init/Kconfig
+++ b/
init/Kconfig
@@
-738,12
+738,6
@@
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
diff --git
a/kernel/panic.c
b/kernel/panic.c
index 5fc6031d1958431edf8823ced4e9975e420d88e8..96b45d0b4ba50853030c295f5b0dbcf9bf33cc88 100644
(file)
--- a/
kernel/panic.c
+++ b/
kernel/panic.c
@@
-29,10
+29,7
@@
static int pause_on_oops;
static int pause_on_oops_flag;
static DEFINE_SPINLOCK(pause_on_oops_lock);
-#ifndef CONFIG_PANIC_TIMEOUT
-#define CONFIG_PANIC_TIMEOUT 0
-#endif
-int panic_timeout = CONFIG_PANIC_TIMEOUT;
+int panic_timeout;
ATOMIC_NOTIFIER_HEAD(panic_notifier_list);