arm64: move DBG_MDSCR_* to asm/debug-monitors.h
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 7 May 2014 11:13:14 +0000 (12:13 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:02 +0000 (17:19 +0200)
commitefacbc423cf057a9051ca0fd240e68f5596700e7
tree0e0ad555a3149d3cf3ef28569fbfe8e63906f8ec
parent129fb6b2b94c46e279406736a959cc39a23500c6
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>
(cherry picked from commit 51ba248164d0eeb8b4f94d405430c18a56c6ac9a)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/include/asm/debug-monitors.h
arch/arm64/kernel/debug-monitors.c