powerpc: Remove broken and complicated kdump system reset code
authorAnton Blanchard <anton@samba.org>
Wed, 30 Nov 2011 00:23:10 +0000 (00:23 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Dec 2011 03:02:22 +0000 (14:02 +1100)
commit9b00ac06978c54788f13eefd34a07b77db48d567
tree4727d71f5d4071b5595d4268c0fe05c8bf2ae02a
parent58154c8ce71a7854d969d73468fd00e5eeeab708
powerpc: Remove broken and complicated kdump system reset code

We have a lot of complicated logic that handles possible recursion between
kdump and a system reset exception. We can solve this in a much simpler
way using the same setjmp/longjmp tricks xmon does.

As a first step, this patch removes the old system reset code.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/kexec.h
arch/powerpc/kernel/crash.c
arch/powerpc/kernel/traps.c