]> Git Repo - linux.git/commitdiff
arm64: use IRQ_STACK_SIZE instead of THREAD_SIZE for irq stack
authorManinder Singh <[email protected]>
Fri, 31 Jul 2020 11:49:50 +0000 (17:19 +0530)
committerCatalin Marinas <[email protected]>
Fri, 31 Jul 2020 17:05:36 +0000 (18:05 +0100)
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]>
arch/arm64/kernel/traps.c

index 47f651df781cde3b8745208bf6ae222511614c38..13ebd5ca20706a0746c3a30b48343772e29171b7 100644 (file)
@@ -855,7 +855,7 @@ asmlinkage void handle_bad_stack(struct pt_regs *regs)
        pr_emerg("Task stack:     [0x%016lx..0x%016lx]\n",
                 tsk_stk, tsk_stk + THREAD_SIZE);
        pr_emerg("IRQ stack:      [0x%016lx..0x%016lx]\n",
-                irq_stk, irq_stk + THREAD_SIZE);
+                irq_stk, irq_stk + IRQ_STACK_SIZE);
        pr_emerg("Overflow stack: [0x%016lx..0x%016lx]\n",
                 ovf_stk, ovf_stk + OVERFLOW_STACK_SIZE);
 
This page took 0.110815 seconds and 4 git commands to generate.