Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113574
b: refs/heads/master
c: 802a67d
h: refs/heads/master
v: v3
  • Loading branch information
Alexander van Heukelum authored and Ingo Molnar committed Oct 13, 2008
1 parent 2444ff6 commit c7dcefd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca0a816403c53411bb6b6fb8bf60cef30695b09d
refs/heads/master: 802a67de0cbd1ef10df80ad48b840e2103b13e52
17 changes: 14 additions & 3 deletions trunk/arch/x86/kernel/dumpstack_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,13 +418,24 @@ die_nmi(char *str, struct pt_regs *regs, int do_panic)
do_exit(SIGSEGV);
}

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)
{
if (!s)
return -EINVAL;
kstack_depth_to_print = simple_strtoul(s, NULL, 0);

return 1;
return 0;
}
__setup("kstack=", kstack_setup);
early_param("kstack", kstack_setup);

static int __init code_bytes_setup(char *s)
{
Expand Down

0 comments on commit c7dcefd

Please sign in to comment.