From: Paul Mundt Date: Tue, 13 Oct 2009 07:52:50 +0000 (+0900) Subject: sh: ftrace: Make code modification NMI safe. X-Git-Tag: v2.6.33-rc1~347^2~27^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4b053d96ae4e23e7023eb9f591bd7fc5c9c8cb9;p=pandora-kernel.git sh: ftrace: Make code modification NMI safe. This cribs the x86 implementation of ftrace_nmi_enter() and friends to make ftrace_modify_code() NMI safe, particularly on SMP configurations. For additional notes on the problems involved, see the comment below ftrace_call_replace(). Signed-off-by: Paul Mundt --- Reading git-diff-tree failed