From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755462AbYKCKEq (ORCPT ); Mon, 3 Nov 2008 05:04:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754668AbYKCKEg (ORCPT ); Mon, 3 Nov 2008 05:04:36 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:50661 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754640AbYKCKEg (ORCPT ); Mon, 3 Nov 2008 05:04:36 -0500 Date: Mon, 3 Nov 2008 11:04:01 +0100 From: Ingo Molnar To: Steven Rostedt Cc: Andrew Morton , linux-kernel@vger.kernel.org, tglx@linutronix.de, peterz@infradead.org, torvalds@linux-foundation.org, srostedt@redhat.com Subject: Re: [PATCH] ftrace: fix hardirq header for non ftrace archs Message-ID: <20081103100401.GD13671@elte.hu> References: <20081030200831.467420488@goodmis.org> <20081030201127.820600693@goodmis.org> <20081030133228.824e3f69.akpm@linux-foundation.org> <20081030141048.904c82e1.akpm@linux-foundation.org> <20081031093030.GC30317@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00,DNS_FROM_SECURITYSAGE autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 DNS_FROM_SECURITYSAGE RBL: Envelope sender in blackholes.securitysage.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Steven Rostedt wrote: > > Not all archs implement ftrace, and therefore do not have an asm/ftrace.h. > This patch corrects the problem. > > The ftrace_nmi_enter/exit now must be defined for all archs that implement > dynamic ftrace. Currently, only x86 does. > > Signed-off-by: Steven Rostedt > --- > arch/arm/include/asm/ftrace.h | 5 ----- > arch/powerpc/include/asm/ftrace.h | 5 ----- > arch/sh/include/asm/ftrace.h | 5 ----- > arch/sparc/include/asm/ftrace.h | 5 ----- > arch/x86/include/asm/ftrace.h | 16 ---------------- > include/linux/ftrace.h | 5 ++++- > include/linux/hardirq.h | 2 +- > 7 files changed, 5 insertions(+), 38 deletions(-) applied to tip/tracing/nmisafe, thanks Steve! Ingo