arm64: clean up irq stack definitions
authorMark Rutland <mark.rutland@arm.com>
Thu, 20 Jul 2017 11:26:48 +0000 (12:26 +0100)
committerMark Rutland <mark.rutland@arm.com>
Tue, 15 Aug 2017 17:35:14 +0000 (18:35 +0100)
commitf60ad4edcf07238a3d2646d65d8d217032452550
tree9fcaefe674ed52734edf1c7f5719e69c31ace93a
parentdbc9344a68e506f19f80a9affc8fe7023a9cdc4c
arm64: clean up irq stack definitions

Before we add yet another stack to the kernel, it would be nice to
ensure that we consistently organise stack definitions and related
helper functions.

This patch moves the basic IRQ stack defintions to <asm/memory.h> to
live with their task stack counterparts. Helpers used for unwinding are
moved into <asm/stacktrace.h>, where subsequent patches will add helpers
for other stacks. Includes are fixed up accordingly.

This patch is a pure refactoring -- there should be no functional
changes as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
arch/arm64/include/asm/irq.h
arch/arm64/include/asm/memory.h
arch/arm64/include/asm/stacktrace.h
arch/arm64/kernel/ptrace.c