commit | c7498081a6f5d96c9f3243b6b5e020352903bfd2 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Tue Aug 12 02:03:49 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 12 02:03:49 2008 -0700 |
tree | f23d27a2c973d0b0542f84cdd0b39be5e4ba406d | |
parent | c6ed413ddcfb66e9d3e1318060271391c7659dd3 [diff] |
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: David S. Miller <davem@davemloft.net>