Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932401AbZKSDYn (ORCPT ); Wed, 18 Nov 2009 22:24:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932327AbZKSDYm (ORCPT ); Wed, 18 Nov 2009 22:24:42 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:59612 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932307AbZKSDYm (ORCPT ); Wed, 18 Nov 2009 22:24:42 -0500 Date: Thu, 19 Nov 2009 04:24:39 +0100 From: Ingo Molnar To: Aristeu Rozanski , Martin Schwidefsky , Heiko Carstens Cc: linux-kernel@vger.kernel.org, Frederic Weisbecker Subject: Re: [PATCH] ftrace: build ftrace.o when CONFIG_FTRACE_SYSCALLS is set for s390 Message-ID: <20091119032439.GB13378@elte.hu> References: <20091118204044.GR3441@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091118204044.GR3441@redhat.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: 0.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.0 required=5.9 tests=none autolearn=no SpamAssassin version=3.2.5 _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1287 Lines: 37 * Aristeu Rozanski wrote: > Trying to build a s390x kernel with CONFIG_FTRACE_SYSCALLS will fail > because ftrace.o is not built/linked. > > Signed-off-by: Aristeu Rozanski > > --- > arch/s390/kernel/Makefile | 1 + > 1 file changed, 1 insertion(+) > > --- linus-2.6.orig/arch/s390/kernel/Makefile 2009-10-30 17:49:10.000000000 -0400 > +++ linus-2.6/arch/s390/kernel/Makefile 2009-11-18 15:39:52.000000000 -0500 > @@ -44,6 +44,7 @@ obj-$(CONFIG_KPROBES) += kprobes.o > obj-$(CONFIG_FUNCTION_TRACER) += $(if $(CONFIG_64BIT),mcount64.o,mcount.o) > obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o > obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o > +obj-$(CONFIG_FTRACE_SYSCALLS) += ftrace.o > > # Kexec part > S390_KEXEC_OBJS := machine_kexec.o crash.o Nice catch. AFAICS the build failure should trigger if DYNAMIC_FTRACE and FUNCTION_GRAPH_TRACER is disabled - and i think it affects current mainline too. I've Cc:-ed Martin and Heiko - i think this fix is for the s390 tree. Thanks, Ingo -- 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/