Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2337178ybc; Wed, 13 Nov 2019 12:49:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxhF6dgmisksofqiM+o9J0csUwo4nswlNpHjUvEkfO20Wv+ZrfXYAG383VUROo1WjM+QPjk X-Received: by 2002:a17:906:3ed2:: with SMTP id d18mr4906734ejj.84.1573678149450; Wed, 13 Nov 2019 12:49:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573678149; cv=none; d=google.com; s=arc-20160816; b=yOsB7UpvDlNx4LiYI3kkTZJ+0SVhTO3a8HjEXeznMwgOmHueNlnwSCCWtx2S/hLibn uMh9T3GMRaIHJR7/X+uehCNCeThcMUFtLwzjHC+g+Ek+SNR5SI7mfz4H5OHbmNFx3Cuu p8Tv46mpTluGn4ohfnHj+ebfkdpBqlji8i7xiaE/8Pg7bv50BuK2l0eMJmbpbBT/Z/+R W6CAOSdspnMLZbdN+R2tnkjroUAci77gkMBBCYNuiKvB79DIM80WeNWFQrYYZt+I4v/v FU5AzySga4Czz9rGUtQoYdJD5vZ8oqlhc4vxxI45TEWbSeBDnR0W/kjVO4fpshPQhIpj d31w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=Pl8wWBMpkGxph88oy4J6wriQfxvBG+1+fGJlFLXbOdE=; b=rgO8oG02kuMCJu3ht4ur20Xn9ULg5tYcbxn7oqA/ED6M7uDEL+I5Ll/uHt99dR2h6N hcgjHlKiLKGqxW751ZLUdINa1S6LyA0Cxi2mtf7nEX3CKtIIhu7xH8FsovO5Owpjt3vH IT+hhP2tEOoHGAzfL0T0WjQW2GwLEb7MiswqdUPxxQHJnOsJN1AyQ+VJklbkdKLQqss/ +3m7Lnow0jQIyNVKS4JoX1jIl6VXQ5vPVsyH91R5A25DKb8qzlp99stmyBSO/xqcgo58 gmoFPOqbi+zQ/0ItWdkp/1Ey87jtuZMG/S6IEedrxJIig2c8A38KOZlRBvGM4GPaKte+ yXFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1si2339339eda.105.2019.11.13.12.48.44; Wed, 13 Nov 2019 12:49:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726303AbfKMUps (ORCPT + 99 others); Wed, 13 Nov 2019 15:45:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:55406 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbfKMUpr (ORCPT ); Wed, 13 Nov 2019 15:45:47 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BE8CD206E6; Wed, 13 Nov 2019 20:45:47 +0000 (UTC) Date: Wed, 13 Nov 2019 15:45:45 -0500 From: Steven Rostedt To: Jisheng Zhang Cc: Russell King , Ingo Molnar , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH RESEND v3] ARM: ftrace: remove mcount(),ftrace_caller_old() and ftrace_call_old() Message-ID: <20191113154545.4717a5d6@gandalf.local.home> In-Reply-To: <20191107160840.7bd821dc@xhacker.debian> References: <20191107160840.7bd821dc@xhacker.debian> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Nov 2019 08:21:42 +0000 Jisheng Zhang wrote: > Commit d3c61619568c ("ARM: 8788/1: ftrace: remove old mcount support") > removed the old mcount support, but forget to remove these three > declarations. This patch removes them. > > Signed-off-by: Jisheng Zhang Acked-by: Steven Rostedt (VMware) -- Steve > --- > > Changes since v2: > - really remove mcount() declaration too. I made a mistake when sending out v2 > > Changes since v1: > - remove mcount() declaration too > > arch/arm/include/asm/ftrace.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h > index 18b0197f2384..48ec1d0337da 100644 > --- a/arch/arm/include/asm/ftrace.h > +++ b/arch/arm/include/asm/ftrace.h > @@ -11,7 +11,6 @@ > #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ > > #ifndef __ASSEMBLY__ > -extern void mcount(void); > extern void __gnu_mcount_nc(void); > > #ifdef CONFIG_DYNAMIC_FTRACE > @@ -23,9 +22,6 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr) > /* With Thumb-2, the recorded addresses have the lsb set */ > return addr & ~1; > } > - > -extern void ftrace_caller_old(void); > -extern void ftrace_call_old(void); > #endif > > #endif