blob: ba43a845c2068b2a0df56dcc037b0595f6a4513e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From: jbeulich@novell.com
Subject: Parse oops=panic (match x86-64)
Patch-mainline: obsolete
---
arch/i386/kernel/traps-xen.c | 10 ++++++++++
1 file changed, 10 insertions(+)
--- a/arch/i386/kernel/traps-xen.c 2007-08-27 14:01:27.000000000 -0400
+++ b/arch/i386/kernel/traps-xen.c 2007-08-27 14:01:51.000000000 -0400
@@ -1124,6 +1124,16 @@ void smp_trap_init(trap_info_t *trap_ctx
}
}
+static int __init oops_setup(char *s)
+{
+ if (!s)
+ return -EINVAL;
+ if (!strcmp(s, "panic"))
+ panic_on_oops = 1;
+ return 0;
+}
+early_param("oops", oops_setup);
+
static int __init kstack_setup(char *s)
{
kstack_depth_to_print = simple_strtoul(s, NULL, 0);
|