Skip to content
Commit c7498081 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Fix recursion in stack overflow detection handling.



The calls down into prom_printf() when we detect an overflowed stack
can recurse again since the overflow stack will be "below" the current
kernel stack limit.

Prevent this by just returning straight if we are on the stack
overflow safe stack already.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c6ed413d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment