[PATCH v2 0/5] ftrace: fix ftrace misleading comments for arch using it
Li Bin
huawei.libin at huawei.com
Sun Dec 6 13:02:53 AEDT 2015
Fix the following similar misleading comments of ftrace for arch
ia64/metag/powerpc/sh/x86:
Note: Due to modules and __init, code can
disappear and change, we need to protect against faulting
as well as code changing. We do this by using the
probe_kernel_* functions.
No real locking needed, this code is run through
kstop_machine, or before SMP starts.
Cc: Tony Luck <tony.luck at intel.com>
Cc: Fenghua Yu <fenghua.yu at intel.com>
Cc: linux-ia64 at vger.kernel.org
Cc: James Hogan <james.hogan at imgtec.com>
Cc: linux-metag at vger.kernel.org
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Michael Ellerman <mpe at ellerman.id.au>
Cc: linuxppc-dev at lists.ozlabs.org
Cc: linux-sh at vger.kernel.org
Cc: Thomas Gleixner <tglx at linutronix.de>
"Cc: H. Peter Anvin" <hpa at zytor.com>
Cc: x86 at kernel.org
Li Bin (5):
ia64: ftrace: fix the comments for ftrace_modify_code
metag: ftrace: fix the comments for ftrace_modify_code
powerpc: ftrace: fix the comments for ftrace_modify_code
sh: ftrace: fix the comments for ftrace_modify_code
x86: ftrace: fix the comments for ftrace_modify_code_direct
arch/ia64/kernel/ftrace.c | 12 +++++-------
arch/metag/kernel/ftrace.c | 11 +++++------
arch/powerpc/kernel/ftrace.c | 12 +++++-------
arch/sh/kernel/ftrace.c | 12 +++++-------
arch/x86/kernel/ftrace.c | 12 +++++-------
5 files changed, 25 insertions(+), 34 deletions(-)
More information about the Linuxppc-dev
mailing list