]> git.baikalelectronics.ru Git - kernel.git/commit
Fixed dead ifdef block by adding missing Kconfig option.
authorRobert Obermeier <obbi89@gmail.com>
Sun, 16 Dec 2012 04:59:36 +0000 (05:59 +0100)
committerJason Wessel <jason.wessel@windriver.com>
Sat, 2 Mar 2013 14:52:18 +0000 (08:52 -0600)
commit663b51092b5a54e8ae43398ef85f71e748636815
tree645a97a4242eab936ba5f7b4d9dccfda9bd6f346
parentc5babb8ea42e27974b55ca96e14addb8d77c6999
Fixed dead ifdef block by adding missing Kconfig option.

Added missing Kconfig option KDB_CONTINUE_CATASTROPHIC which lead to a dead
ifdef block in kernel/debug/kdb/kdb_main.c:73-75.

The code using KDB_CONTINUE_CATASTROPHIC was originally introduced in
commit '48335b87aa245ee358984c8130fd4c266230dcfc' by Jason Wessel.
This patchset ("kdb: core for kgdb back end (1 of 2)")
added platform independent part of kdb to the linux kernel.

The Kernel option however, even though it had the same options and
behaviour on all supported architectures, was part of the x86 and
ia64 patchset of KDB and therefore not pulled into the mainline kernel tree.

I actually took the originally written Kconfig by
Keith Owens <kaos@sgi.com> (2003-06-20 according to KDB changelog)
and changed it to reflect the correct behaviour,
as the KDUMP patchset is not part of the kernel and the expected
functionality is missing from it.

Signed-off-by: Robert Obermeier <obbi89@googlemail.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
lib/Kconfig.kgdb