From: Paul Mundt Date: Sat, 11 Jul 2009 12:06:53 +0000 (+0900) Subject: sh: Fix up stack overflow check with ftrace disabled. X-Git-Tag: v2.6.32-rc1~640^2~95^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e460ab27b6c3ea313762169713086529d5bfb8bc;p=pandora-kernel.git 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 --- Reading git-diff-tree failed