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)
committerAlex Shi <alex.shi@linaro.org>
Wed, 11 May 2016 14:52:50 +0000 (22:52 +0800)
commit11e7d3ccfae5510815c72cec4066d5d5acbfa718
tree88d3609f5bffdd98d767200c93139d668748fb45
parentd3bb0180b3ecbcff076ca7e41d4ad4fa0ee4c9d7
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>
(cherry picked from commit f98deee9a9f8c47d05a0f64d86440882dca772ff)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
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