Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755264AbbLDH3I (ORCPT ); Fri, 4 Dec 2015 02:29:08 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:19080 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754976AbbLDH2q (ORCPT ); Fri, 4 Dec 2015 02:28:46 -0500 From: Li Bin To: , CC: , Li Bin , "Tony Luck" , Fenghua Yu , , James Hogan , , Benjamin Herrenschmidt , Paul Mackerras , "Michael Ellerman" , , , Thomas Gleixner , 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> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.100.166] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.5661408F.0107,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: aa5db05e5d702fefdb244d086fab0f12 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1687 Lines: 44 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/