From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rune.pobox.com (rune.pobox.com [208.210.124.79]) by ozlabs.org (Postfix) with ESMTP id ECF4DDE1C4 for ; Thu, 25 Jan 2007 12:04:58 +1100 (EST) Date: Wed, 24 Jan 2007 19:04:53 -0600 From: Nathan Lynch To: Segher Boessenkool Subject: Re: [PATCH 2/2] move pSeries nvram code to neutral location Message-ID: <20070125010453.GN16486@localdomain> References: <20070125001843.GI16486@localdomain> <5FE26120-8464-4431-8F0D-EEBB4B896419@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <5FE26120-8464-4431-8F0D-EEBB4B896419@kernel.crashing.org> Cc: linuxppc-dev@ozlabs.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Segher Boessenkool wrote: > >Move arch/powerpc/platforms/pseries/nvram.c to > >arch/powerpc/sysdev/rtas_nvram.c so other platforms with RTAS support > >for manipulating nvram can use it. > > > >Add a RTAS_NVRAM Kconfig option which triggers the build of > >arch/powerpc/sysdev/rtas_nvram.o. > > > >Select RTAS_NVRAM for pSeries and Maple platforms. > > The patch seems to select it for pSeries and iSeries, instead? Aw crap, evidently damage introduced when rebasing (Kconfig files seem so fragile in this regard). > >+config RTAS_NVRAM > >+ bool > >+ default n > > No need for "default n", all defaults are "n" by default ;-) Duh, will fix. > >--- a/arch/powerpc/platforms/pseries/nvram.c > >+++ /dev/null > > >--- /dev/null > >+++ b/arch/powerpc/sysdev/rtas_nvram.c > > You can do a "git diff -M" -- that way, we can see that you're > not trying to sneak in any changes ;-) (and it makes you patch > much more legible and smaller, too). Thanks for the tip, I'll try it that way.