kgdb/kdb: Fix no KDB config problem
authorMike Travis <travis@sgi.com>
Tue, 14 Jan 2014 16:25:52 +0000 (10:25 -0600)
committerIngo Molnar <mingo@kernel.org>
Sat, 25 Jan 2014 07:55:09 +0000 (08:55 +0100)
commitfc8b13740b2978b34872650cc8e928392e3758aa
treeb9f1420e4e6d1bf4adcfe48a2cda802f268ba42a
parent981c3a4ff8596a9dcd2b058ee12d6749639c32a5
kgdb/kdb: Fix no KDB config problem

Some code added to the debug_core module had KDB dependencies
that it shouldn't have.  Move the KDB dependent REASON back to
the caller to remove the dependency in the debug core code.

Update the call from the UV NMI handler to conform to the new
interface.

Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Hedi Berriche <hedi@sgi.com>
Cc: Russ Anderson <rja@sgi.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Link: http://lkml.kernel.org/r/20140114162551.318251993@asylum.americas.sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/uv/uv_nmi.c
include/linux/kgdb.h
kernel/debug/debug_core.c
kernel/debug/debug_core.h