]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Add vmap_stack header file
authorJames Morse <james.morse@arm.com>
Mon, 8 Jan 2018 15:38:10 +0000 (15:38 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Sat, 13 Jan 2018 10:45:03 +0000 (10:45 +0000)
commit5984cf4aba1b2983f5961157db4f32a1b290e9b9
tree47db6e0db6a65fc98f18d1b99a52397d058bfb04
parent17736d7ae0fc50432cc2a122803d492f44d48189
arm64: Add vmap_stack header file

Today the arm64 arch code allocates an extra IRQ stack per-cpu. If we
also have SDEI and VMAP stacks we need two extra per-cpu VMAP stacks.

Move the VMAP stack allocation out to a helper in a new header file.
This avoids missing THREADINFO_GFP, or getting the all-important alignment
wrong.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/vmap_stack.h [new file with mode: 0644]
arch/arm64/kernel/irq.c