[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091119124415.0fd92f4d@mschwide.boeblingen.de.ibm.com>
Date: Thu, 19 Nov 2009 12:44:15 +0100
From: Martin Schwidefsky <schwidefsky@...ibm.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Aristeu Rozanski <aris@...hat.com>,
Heiko Carstens <heiko.carstens@...ibm.com>,
linux-kernel@...r.kernel.org,
Frederic Weisbecker <fweisbec@...il.com>
Subject: Re: [PATCH] ftrace: build ftrace.o when CONFIG_FTRACE_SYSCALLS is
set for s390
On Thu, 19 Nov 2009 04:24:39 +0100
Ingo Molnar <mingo@...e.hu> wrote:
>
> * Aristeu Rozanski <aris@...hat.com> 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 <aris@...hat.com>
> >
> > ---
> > 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.
Yes, I will add that to the s390 tree for the next merge window.
Thanks.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists