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 <[email protected]> Acked-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent c4885bb commit 338c11e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)