arm64: allow building with kcov coverage on ARM64
authorAlexander Potapenko <glider@google.com>
Thu, 16 Jun 2016 16:39:52 +0000 (18:39 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 21 Jun 2016 15:15:57 +0000 (16:15 +0100)
commit5e4c7549f7082b06bbba566c68696dbb8d2e5b6b
tree4967b4f19aba8a8f039642de4f11825cc2d525a7
parent6b14c517a2a866c8407e9864c1cd3fcc6fed55ab
arm64: allow building with kcov coverage on ARM64

Add ARCH_HAS_KCOV to ARM64 config. To avoid potential crashes, disable
instrumentation of the files in arch/arm64/kvm/hyp/*.

Signed-off-by: Alexander Potapenko <glider@google.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Tested-by: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/kvm/hyp/Makefile