arm64: move DBG_MDSCR_* to asm/debug-monitors.h
commit51ba248164d0eeb8b4f94d405430c18a56c6ac9a
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 7 May 2014 11:13:14 +0000 (7 12:13 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:43 +0000 (11 04:57 -0700)
treefffcc5ae95b82846cfe8b32bc7848b8daae31225
parent7609c1251f9d8bbcd6a05ba22153e50cf4f88cff
arm64: move DBG_MDSCR_* to asm/debug-monitors.h

In order to be able to use the DBG_MDSCR_* macros from the KVM code,
move the relevant definitions to the obvious include file.

Also move the debug_el enum to a portion of the file that is guarded
by #ifndef __ASSEMBLY__ in order to use that file from assembly code.

Acked-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/debug-monitors.h
arch/arm64/kernel/debug-monitors.c