arm64/debug: Eliminate magic number from ESR template definition
authorDave P Martin <Dave.Martin@arm.com>
Fri, 24 Jul 2015 15:37:43 +0000 (16:37 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 10:08:42 +0000 (11:08 +0100)
commit03923696a966bd3eeb3a169d71b8a337aaa5ab76
tree2b4c27b27b86bcf7525c1a6037416d92fec2579e
parentdfac68314c969481fcce3dd528728dfa9d85caf5
arm64/debug: Eliminate magic number from ESR template definition

<asm/esr.h> has perfectly good constants for defining ESR values
already.  Let's use them.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/debug-monitors.h