Messages in this thread | | | Date | Fri, 2 Jan 2009 09:04:20 +0100 | From | Sam Ravnborg <> | Subject | Re: [PATCH] sparc: Use 64BIT config entry |
| |
On Thu, Jan 01, 2009 at 08:35:04PM +0100, Bastian Blank wrote: > Use 64BIT config entry to distinguish between 32 and 64bit builds > instead of relying on the ARCH setting. Using sparc64 as ARCH still > forces 64BIT on.
Hi Bastian.
I have tested the patch and it works as expected. One small nit below.
Sam
> > Inspired by the x86 and s390 configs. > > Signed-off-by: Bastian Blank <waldi@debian.org> > > -- > You can't evaluate a man by logic alone. > -- McCoy, "I, Mudd", stardate 4513.3
> diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig > index 0a94d9c..73ddfd9 100644 > --- a/arch/sparc/Kconfig > +++ b/arch/sparc/Kconfig > @@ -4,6 +4,13 @@ > > mainmenu "Linux/SPARC Kernel Configuration" > > +config 64BIT > + bool "64-bit kernel" if ARCH = "sparc" > + default ARCH = "sparc64" > + help > + Say yes to build a 64-bit kernel - formerly known as sparc64 > + Say no to build a 32-bit kernel - formerly known as sparc
We should update this help escription with something remotely like this:
> + SPARC is a family of RISC microprocessors designed and marketed by > + Sun Microsystems, incorporated. They are very widely found in Sun > + workstations and clones.
Just a raw copy from the (always hidden) help text for SPARC32.
Sam
| |