diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-13 09:52:50 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-13 09:52:50 +0200 |
commit | e4b053d96ae4e23e7023eb9f591bd7fc5c9c8cb9 (patch) | |
tree | 16e25333605c6919ce85ae9a43e970dc0dd516f4 /arch/sh/include/asm/ftrace.h | |
parent | sh: Don't profile return_address(). (diff) | |
download | linux-e4b053d96ae4e23e7023eb9f591bd7fc5c9c8cb9.tar.xz linux-e4b053d96ae4e23e7023eb9f591bd7fc5c9c8cb9.zip |
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>
Diffstat (limited to 'arch/sh/include/asm/ftrace.h')
0 files changed, 0 insertions, 0 deletions