]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Split out do_feature_fixups() from cputable.c
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 24 Jun 2008 01:32:36 +0000 (11:32 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 01:28:24 +0000 (11:28 +1000)
commit880ba8a4e6e2ccd063bac80daf38d678b120f3b6
tree3a1d532ba5c210c4ad4c0d2c9eee24c23b53e677
parentc0dd7e02bade5bb8615b730347dd9e0b03af6a1e
powerpc: Split out do_feature_fixups() from cputable.c

The logic to patch CPU feature sections lives in cputable.c, but these days
it's used for CPU features as well as firmware features.  Move it into
it's own file for neatness and as preparation for some additions.

While we're moving the code, we pull the loop body logic into a separate
routine, and remove a comment which doesn't apply anymore.

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>
arch/powerpc/kernel/cputable.c
arch/powerpc/lib/Makefile
arch/powerpc/lib/feature-fixups.c [new file with mode: 0644]