lkml.org 
[lkml]   [2009]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-01-02 09:05    [W:1.261 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site