Re: [PATCH] powerpc: Free up some CPU feature bits by moving out MMU-related features

2011-04-07 Thread Matt Evans
On 07/04/11 17:06, Kumar Gala wrote: > > On Apr 7, 2011, at 12:48 AM, Matt Evans wrote: > >> diff --git a/arch/powerpc/include/asm/cputable.h >> b/arch/powerpc/include/asm/cputable.h >> index be3cdf9..7b0fe7c 100644 >> --- a/arch/powerpc/include/asm/cputable.h >> +++ b/arch/powerpc/include/asm/c

Re: [PATCH] powerpc: Free up some CPU feature bits by moving out MMU-related features

2011-04-07 Thread Kumar Gala
On Apr 7, 2011, at 12:48 AM, Matt Evans wrote: > diff --git a/arch/powerpc/include/asm/cputable.h > b/arch/powerpc/include/asm/cputable.h > index be3cdf9..7b0fe7c 100644 > --- a/arch/powerpc/include/asm/cputable.h > +++ b/arch/powerpc/include/asm/cputable.h > @@ -178,22 +178,15 @@ extern const c

[PATCH] powerpc: Free up some CPU feature bits by moving out MMU-related features

2011-04-06 Thread Matt Evans
Some of the 64bit PPC CPU features are MMU-related, so this patch moves them to MMU_FTR_ bits. All cpu_has_feature()-style tests are moved to mmu_has_feature(), and seven feature bits are freed as a result. Signed-off-by: Matt Evans --- Boot-tested on pseries and G5. arch/powerpc/include/asm/c