arm64: probes: Move magic BRK values into brk-imm.h
authorWill Deacon <will.deacon@arm.com>
Tue, 26 Feb 2019 15:06:42 +0000 (15:06 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 9 Apr 2019 10:21:13 +0000 (11:21 +0100)
commit453b7740ebfda2d84be7fb583c54f0c91c592869
tree1108d1c08094213cc18a7f8e4daae990f0aa99a3
parentfb610f2a2006322bebeb30408fefce6a01df09ea
arm64: probes: Move magic BRK values into brk-imm.h

kprobes and uprobes reserve some BRK immediates for installing their
probes. Define these along with the other reservations in brk-imm.h
and rename the ESR definitions to be consistent with the others that we
already have.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/brk-imm.h
arch/arm64/include/asm/debug-monitors.h
arch/arm64/include/asm/esr.h
arch/arm64/kernel/debug-monitors.c
arch/arm64/kernel/probes/kprobes.c
arch/arm64/kernel/probes/uprobes.c
arch/arm64/kernel/traps.c