[PATCH 1/5] powerpc: consolidate feature fixup code

Olof Johansson olof at lixom.net
Fri Oct 20 12:00:08 EST 2006


On Fri, 20 Oct 2006 11:47:15 +1000 Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:

> There are currently two versions of the functions for applying the
> feature fixups, one for CPU features and one for firmware features. In
> addition, they are both in assembly and with separate implementations
> for 32 and 64 bits. identify_cpu() is also implemented in assembly and
> separately for 32 and 64 bits.
> 
> This patch replaces them with a pair of C functions. The call sites are
> slightly moved on ppc64 as well to be called from C instead of from
> assembly, though it's a very small change, and thus shouldn't cause any
> problem.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Acked-by: Olof Johansson <olof at lixom.net>



More information about the Linuxppc-dev mailing list