lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090102080420.GA2107@uranus.ravnborg.org>
Date:	Fri, 2 Jan 2009 09:04:20 +0100
From:	Sam Ravnborg <sam@...nborg.org>
To:	Bastian Blank <bastian@...di.eu.org>,
	"David S. Miller" <davem@...emloft.net>,
	linux-sparc@...r.kernel.org, linux-kernel@...r.kernel.org
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@...ian.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ