From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (cpe-74-67-89-75.stny.res.rr.com [74.67.89.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F01B9DDE9F for ; Fri, 6 Feb 2009 18:18:50 +1100 (EST) Subject: Re: [PATCH 2/2] powerpc, ftrace: fix compile error when modules not configured From: Steven Rostedt To: Michael Neuling In-Reply-To: <12951.1233901432@neuling.org> References: <20090206060328.181057235@goodmis.org> <20090206060527.369616736@goodmis.org> <12951.1233901432@neuling.org> Content-Type: text/plain Date: Fri, 06 Feb 2009 01:27:06 -0500 Message-Id: <1233901626.16878.51.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Paul Mackerras , Ingo Molnar , Andrew Morton List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2009-02-06 at 17:23 +1100, Michael Neuling wrote: > In message <20090206060527.369616736@goodmis.org> you wrote: > > From: Steven Rostedt > > > > Michael Neuling reported a compile bug when dynamic ftrace was > > configured in and modules were not. This was due to the ftrace > > code referencing module specific structures. > > > > Reported-by: Michael Neuling > > Signed-off-by: Steven Rostedt > > Steve, > > Thanks, fixes the error I was seeing. Cool. > > As an aside, is there anyway we can merge some of the code in > arch/powerpc/kernel/ftrace.c between 32 and 64bit? There seems to be a > lot of repeated code in there with only minor changes. It looks similar, but there's enough differences that I would like to keep them separate. The code is complex enough and has a lot of subtle differences between the two archs. -- Steve