Commit 3ecaa6e7 authored by Jan Kiszka's avatar Jan Kiszka

x86/ipipe: Fix CONFIG_DEBUG_STACKOVERFLOW enabled

Since cfc8c1d6, current_stack_pointer is to be used like a variable.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent a00cd2d8
......@@ -43,7 +43,7 @@ static inline void stack_overflow_check(struct pt_regs *regs)
return;
if (IS_ENABLED(CONFIG_IPIPE))
sp = current_stack_pointer();
sp = current_stack_pointer;
else
sp = regs->sp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment