From: Uwe Kleine-König Date: Thu, 12 Mar 2009 17:03:16 +0000 (+0100) Subject: [ARM] 5421/1: ftrace: fix crash due to tracing of __naked functions X-Git-Tag: v2.6.29~38^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=446c92b2901bedb3725d29b4e73def8aba623ffc;p=pandora-kernel.git [ARM] 5421/1: ftrace: fix crash due to tracing of __naked functions This is a fix for the following crash observed in 2.6.29-rc3: http://lkml.org/lkml/2009/1/29/150 On ARM it doesn't make sense to trace a naked function because then mcount is called without stack and frame pointer being set up and there is no chance to restore the lr register to the value before mcount was called. Reported-by: Matthias Kaehlcke Tested-by: Matthias Kaehlcke Cc: Abhishek Sagar Cc: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Uwe Kleine-König Signed-off-by: Russell King --- Reading git-diff-tree failed