Skip to content

Commit 338c11e

Browse files
maninder42ctmarinas
authored andcommitted
arm64: use IRQ_STACK_SIZE instead of THREAD_SIZE for irq stack
IRQ_STACK_SIZE can be made different from THREAD_SIZE, and as IRQ_STACK_SIZE is used while irq stack allocation, same define should be used while printing information of irq stack. Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/1596196190-14141-1-git-send-email-maninder1.s@samsung.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent c4885bb commit 338c11e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/kernel/traps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ asmlinkage void handle_bad_stack(struct pt_regs *regs)
855855
pr_emerg("Task stack: [0x%016lx..0x%016lx]\n",
856856
tsk_stk, tsk_stk + THREAD_SIZE);
857857
pr_emerg("IRQ stack: [0x%016lx..0x%016lx]\n",
858-
irq_stk, irq_stk + THREAD_SIZE);
858+
irq_stk, irq_stk + IRQ_STACK_SIZE);
859859
pr_emerg("Overflow stack: [0x%016lx..0x%016lx]\n",
860860
ovf_stk, ovf_stk + OVERFLOW_STACK_SIZE);
861861

0 commit comments

Comments
 (0)