]> git.baikalelectronics.ru Git - kernel.git/commit
i386, dumpstack: move crash_kexec before bust_spinlocks(0) in oops_end
authorAlexander van Heukelum <heukelum@fastmail.fm>
Wed, 22 Oct 2008 10:00:08 +0000 (12:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 12:00:22 +0000 (14:00 +0200)
commit5b7cd728ad33cc3cc10b417dab596cf094fc3f92
treeac94939d6bc8e75e212225da99ccbf8a48e7c30e
parente32482b6f94ef6daddd805e1885fa68f98b9854b
i386, dumpstack: move crash_kexec before bust_spinlocks(0) in oops_end

crash_kexec should not be called with console_sem held. Move
the call before bust_spinlocks(0) in oops_end to avoid the
problem.

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