Add CONFIG_CRASH_STOP and CONFIG_CRASH_STOP_SUPPORTED. Debug code will select CRASH_STOP. That in turn will select CRASH_STOP_SUPPORTED if the config supports crash_stop(). If the supported architecture list changes then only the CRASH_STOP entry needs to be updated, none of the tools that select CRASH_STOP have to worry about arch dependent details.
Signed-off-by: Keith Owens <[EMAIL PROTECTED]> --- lib/Kconfig.debug | 7 +++++++ 1 file changed, 7 insertions(+) Index: linux/lib/Kconfig.debug =================================================================== --- linux.orig/lib/Kconfig.debug +++ linux/lib/Kconfig.debug @@ -412,3 +412,10 @@ config LKDTM Documentation on how to use the module can be found in drivers/misc/lkdtm.c + +config CRASH_STOP + bool + select CRASH_STOP_SUPPORTED if ( IA64 || (X86 && !X86_VOYAGER) ) + +config CRASH_STOP_SUPPORTED + bool - To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html