lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL
authorLaura Abbott <labbott@redhat.com>
Tue, 10 Jan 2017 21:35:40 +0000 (13:35 -0800)
committerWill Deacon <will.deacon@arm.com>
Wed, 11 Jan 2017 13:56:49 +0000 (13:56 +0000)
commitfa5b6ec9e5274aeae2326e25995506a953e5f878
tree3c42069c80e3aad375f98c762ef8dd02ca787327
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL

DEBUG_VIRTUAL currently depends on DEBUG_KERNEL && X86. arm64 is getting
the same support. Rather than add a list of architectures, switch this
to ARCH_HAS_DEBUG_VIRTUAL and let architectures select it as
appropriate.

Acked-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/x86/Kconfig
lib/Kconfig.debug