Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753931AbbLFCB5 (ORCPT ); Sat, 5 Dec 2015 21:01:57 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:38983 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753807AbbLFCBy (ORCPT ); Sat, 5 Dec 2015 21:01:54 -0500 From: Li Bin To: , CC: , Li Bin , "Tony Luck" , Fenghua Yu , , James Hogan , , Benjamin Herrenschmidt , Paul Mackerras , "Michael Ellerman" , , , Thomas Gleixner , Subject: [PATCH v2 0/5] ftrace: fix ftrace misleading comments for arch using it Date: Sun, 6 Dec 2015 10:02:53 +0800 Message-ID: <1449367378-29430-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.0A020206.566396F3.005C,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: a55cc4aa44d806ce8852c53fc9623edc Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1682 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 | 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(-) -- 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/