From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from VA3EHSOBE002.bigfish.com (va3ehsobe002.messaging.microsoft.com [216.32.180.12]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 1A5761007E9 for ; Fri, 11 Nov 2011 03:47:50 +1100 (EST) Date: Thu, 10 Nov 2011 10:47:41 -0600 From: Scott Wood To: Kyle Moffett Subject: Re: [RFC PATCH 16/17] powerpc/e500: Make __setup_cpu_{e200,e500,e500mc,e5500} optional Message-ID: <20111110164741.GC11983@schlenkerla.am.freescale.net> References: <4E42AB6F.1050900@freescale.com> <1320883635-17194-17-git-send-email-Kyle.D.Moffett@boeing.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <1320883635-17194-17-git-send-email-Kyle.D.Moffett@boeing.com> Cc: Baruch Siach , Shaohui Xie , Alexandre Bounine , Timur Tabi , linux-kernel@vger.kernel.org, Paul Gortmaker , Paul Mackerras , Andrew Morton , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Nov 09, 2011 at 07:07:14PM -0500, Kyle Moffett wrote: > Only build the setup functions when the corresponding entries are > included in the CPU table. > > Signed-off-by: Kyle Moffett > --- > arch/powerpc/kernel/cpu_setup_fsl_booke.S | 14 +++++++++++++- > 1 files changed, 13 insertions(+), 1 deletions(-) > > diff --git a/arch/powerpc/kernel/cpu_setup_fsl_booke.S b/arch/powerpc/kernel/cpu_setup_fsl_booke.S > index 8053db0..77721b2 100644 > --- a/arch/powerpc/kernel/cpu_setup_fsl_booke.S > +++ b/arch/powerpc/kernel/cpu_setup_fsl_booke.S > @@ -17,6 +17,8 @@ > #include > #include > > +#if defined(CONFIG_FSL_E500_V1_V2) || defined(CONFIG_FSL_E500MC) \ > + || defined(CONFIG_FSL_E5500) This seems like the kind of thing that CONFIG_E500 should be retained for. -Scott