arm64: move brk immediate argument definitions to separate header
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 23 Feb 2016 07:56:45 +0000 (08:56 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 23 Feb 2016 17:43:25 +0000 (17:43 +0000)
commitf98deee9a9f8c47d05a0f64d86440882dca772ff
tree3c655411bd4c9b5714d99062203f39608c3a610f
parent8439e62a15614e8fcd43835d57b7245cd9870dc5
arm64: move brk immediate argument definitions to separate header

Instead of reversing the header dependency between asm/bug.h and
asm/debug-monitors.h, split off the brk instruction immediate value
defines into a new header asm/brk-imm.h, and include it from both.

This solves the circular dependency issue that prevents BUG() from
being used in some header files, and keeps the definitions together.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/brk-imm.h [new file with mode: 0644]
arch/arm64/include/asm/bug.h
arch/arm64/include/asm/debug-monitors.h