[PATCH 10/14] powerpc: Consolidate feature fixup macros for 64/32 bit

Kumar Gala galak at kernel.crashing.org
Tue Jun 24 23:48:35 EST 2008


On Jun 23, 2008, at 8:32 PM, Michael Ellerman wrote:

> Currentl we have three versions of MAKE_FTR_SECTION_ENTRY(), the  
> macro that
> generates a feature section entry. There is 64bit version, a 32bit  
> version
> and version for 32bit code built with a 64bit kernel.

typo in 'currentl'
>
>
> Rather than triplicating (?) the MAKE_FTR_SECTION_ENTRY() logic, we  
> can
> move the 64bit/32bit differences into separate macros, and then only  
> have
> one version of MAKE_FTR_SECTION_ENTRY().
>
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
> ---
> include/asm-powerpc/feature-fixups.h |   54 +++++++ 
> +-------------------------
> 1 files changed, 13 insertions(+), 41 deletions(-)


Acked-by: Kumar Gala <galak at kernel.crashing.org>

- k



More information about the Linuxppc-dev mailing list