x86, dumpstack: let signr=0 signal no do_exit
authorAlexander van Heukelum <heukelum@fastmail.fm>
Wed, 22 Oct 2008 10:00:09 +0000 (12:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 12:00:23 +0000 (14:00 +0200)
commit874d93d11823b2b861addac6a5dc31162e924ab2
tree6d84df0b35ca810ea5871be766934b0b20ad70b7
parentb4b8f87bf4958cbad620654efc0882ac46c19846
x86, dumpstack: let signr=0 signal no do_exit

Change oops_end such that signr=0 signals that do_exit
is not to be called.

Currently, each use of __die is soon followed by a call
to oops_end and 'regs' is set to NULL if oops_end is expected
not to call do_exit. Change all such pairs to set signr=0
instead. On x86_64 oops_end is used 'bare' in die_nmi; use
signr=0 instead of regs=NULL there, too.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/dumpstack_32.c
arch/x86/kernel/dumpstack_64.c
arch/x86/mm/fault.c