commit | e4b053d96ae4e23e7023eb9f591bd7fc5c9c8cb9 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Tue Oct 13 16:52:50 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Oct 13 16:52:50 2009 +0900 |
tree | 16e25333605c6919ce85ae9a43e970dc0dd516f4 | |
parent | c8afde7f40577b80d30aa8abcdee74c76a4b800a [diff] |
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 <lethal@linux-sh.org>