xen: put more code under CONFIG_CRASH_DEBUG
authorJuergen Gross <jgross@suse.com>
Thu, 19 Dec 2019 07:42:08 +0000 (08:42 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 Jan 2020 18:37:25 +0000 (18:37 +0000)
commit137a233186b6d4368e19dada927895d83b2a6430
tree40857d7d5d3bb7449f943781e2352047e5c68514
parent1171a93b6ca71894f17715050e9289befff0951d
xen: put more code under CONFIG_CRASH_DEBUG

debugger_trap_entry() is not needed without CONFIG_CRASH_DEBUG, so only
include it if CONFIG_CRASH_DEBUG is defined.

While at it remove CONFIG_HAS_GDBSX as it can easily be replaced by
CONFIG_CRASH_DEBUG.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/Kconfig
xen/arch/x86/domain.c
xen/arch/x86/hvm/vmx/realmode.c
xen/common/Kconfig
xen/common/domain.c
xen/include/asm-x86/debugger.h
xen/include/xen/sched.h