From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Bin Subject: [PATCH 0/5] ftrace: fix ftrace misleading comments for arch using it Date: Fri, 4 Dec 2015 15:27:42 +0800 Message-ID: <1449214067-12177-1-git-send-email-huawei.libin@huawei.com> Mime-Version: 1.0 Return-path: Sender: linux-sh-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: rostedt@goodmis.org, mingo@redhat.com Cc: linux-kernel@vger.kernel.org, Li Bin , Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org, James Hogan , linux-metag@vger.kernel.org, Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, Thomas Gleixner , x86@kernel.org 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 Cc: Fenghua Yu Cc: linux-ia64@vger.kernel.org Cc: James Hogan Cc: linux-metag@vger.kernel.org Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-sh@vger.kernel.org Cc: Thomas Gleixner "Cc: H. Peter Anvin" Cc: x86@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 | 13 ++++++------- arch/metag/kernel/ftrace.c | 12 ++++++------ arch/powerpc/kernel/ftrace.c | 13 ++++++------- arch/sh/kernel/ftrace.c | 13 ++++++------- arch/x86/kernel/ftrace.c | 13 ++++++------- 5 files changed, 30 insertions(+), 34 deletions(-)