]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Consolidate feature fixup macros for 64/32 bit
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 24 Jun 2008 01:32:48 +0000 (11:32 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 01:28:26 +0000 (11:28 +1000)
commitc1137c37a9370f510dc022e6e95fff036ccb90be
tree96fd89dd4daa06178ade06558f6ab489791be667
parentc5157e587b33b1185cf73207fc53760cf1351430
powerpc: Consolidate feature fixup macros for 64/32 bit

Currently 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.

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@ellerman.id.au>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/feature-fixups.h