[PATCH] powerpc: Dont set 32bit cputable bits on 64bit

Olof Johansson olof at lixom.net
Tue Dec 13 08:00:55 EST 2005


On Tue, Dec 13, 2005 at 07:45:33AM +1100, Anton Blanchard wrote:
> 
> Milton and I were looking at the cputable code and it looks like we can
> set spurious bits on 64bit.
> 
> Signed-off-by: Anton Blanchard <anton at samba.org>
> ---
> 
> Index: build/include/asm-powerpc/cputable.h
> ===================================================================
> --- build.orig/include/asm-powerpc/cputable.h	2005-11-20 07:31:45.000000000 +1100
> +++ build/include/asm-powerpc/cputable.h	2005-12-13 07:39:34.000000000 +1100
> @@ -311,6 +311,11 @@
>  #endif
>  
>  	CPU_FTRS_POSSIBLE =
> +#ifdef __powerpc64__

I know they were just moved, but should we use CONFIG_PPC64 instead to
keep it similar with the other CONFIG_* tests?


-Olof



More information about the Linuxppc64-dev mailing list