diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2009-07-15 04:32:15 (GMT) |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-07-17 04:37:53 (GMT) |
commit | 64fbcd162819bddaf0d99e78b16371b655aa5dee (patch) | |
tree | abc34dd23386f13675502455d99d868b9b63173e /kernel/seccomp.c | |
parent | da706d8bc833e7153622435560422e653bdb2e94 (diff) | |
download | linux-fsl-qoriq-64fbcd162819bddaf0d99e78b16371b655aa5dee.tar.xz |
tracing/function: Simplify __ftrace_replace_code()
Rewrite the __ftrace_replace_code() function, simplify it, but don't
change the code's logic.
First, we get the state we want to set, if the record has the same
state, then do nothing, otherwise enable/disable it.
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions