commit | e460ab27b6c3ea313762169713086529d5bfb8bc | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Sat Jul 11 21:06:53 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Sat Jul 11 21:06:53 2009 +0900 |
tree | a3d0cba85bf3118da4465037c18c6390cac14635 | |
parent | a470b95e99ea77ef1e307ff181e59a4a16caa4f4 [diff] |
sh: Fix up stack overflow check with ftrace disabled. Presently the STACK_CHECK() code is called in to multiple times, although it's only necessary from the mcount entry. The code still attempts to treat the nop case as an ftrace path resulting in superfluous code flow for the case where ftrace is disabled. And finally, this also fixes up references to a few undefined symbols when FUNCTION_TRACER=n. Signed-off-by: Paul Mundt <lethal@linux-sh.org>