Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760849AbXEOT26 (ORCPT ); Tue, 15 May 2007 15:28:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755793AbXEOT2v (ORCPT ); Tue, 15 May 2007 15:28:51 -0400 Received: from pasmtpa.tele.dk ([80.160.77.114]:36312 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756541AbXEOT2v (ORCPT ); Tue, 15 May 2007 15:28:51 -0400 Date: Tue, 15 May 2007 21:29:46 +0200 From: Sam Ravnborg To: Li Yang-r58472 Cc: Kumar Gala , Linus , Andrew Morton , Linux Kernel , linuxppc-dev@ozlabs.org Subject: Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc Message-ID: <20070515192946.GA22476@uranus.ravnborg.org> References: <3DF58590-DFD9-4665-8C47-33F407AAD1E7@kernel.crashing.org> <989B956029373F45A0B8AF0297081890B76041@zch01exm26.fsl.freescale.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <989B956029373F45A0B8AF0297081890B76041@zch01exm26.fsl.freescale.net> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1619 Lines: 44 On Tue, May 15, 2007 at 05:36:40PM +0800, Li Yang-r58472 wrote: > > -----Original Message----- > > From: Kumar Gala [mailto:galak@kernel.crashing.org] > > Sent: Monday, May 14, 2007 9:57 PM > > To: Sam Ravnborg > > Cc: Li Yang-r58472; Linus; Andrew Morton; Linux Kernel; > linuxppc-dev@ozlabs.org > > Subject: Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning > whitelist for > > powerpc > > > > > > On May 14, 2007, at 6:06 AM, Sam Ravnborg wrote: > > > > > On Mon, May 14, 2007 at 06:53:32PM +0800, Li Yang wrote: > > >> This patch fixes the following "Section mismatch" warnings when > > >> build powerpc platforms. > > >> > > >> ------------- > > >> WARNING: arch/powerpc/mm/built-in.o - Section mismatch: reference > to > > >> .init.text:early_get_page from .text between > > >> 'pte_alloc_one_kernel' (at > > >> offset 0xc68) and 'pte_alloc_one' > > >> WARNING: mm/built-in.o - Section mismatch: reference to > > >> .init.text:set_up_list3s from .text between > > >> 'kmem_cache_create' (at offset > > >> 0x20300) and 'cache_reap' > > >> ------------- > > > > This warnings should be handled by __init_refok instead. > > Yes. When __init_refok gets in, we can change all Pattern 9 members in > the whitelist to use __init_refok. I have applied the patch without the fixes for the above functions. Will merge and push the __init_refok changes soonish. Sam - 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/