]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: Fix some 6xx/7xxx CPU setup functions
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jan 2011 20:35:23 +0000 (20:35 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:44:57 +0000 (12:44 -0700)
commit3bb03410e25218cc3d7634babb00f2da66dc6650
tree7b059981a192464cf0d19f37c001fe9f36ef3497
parent4c0821e7a7ebca3614995845b91a640c6919fdc5
powerpc: Fix some 6xx/7xxx CPU setup functions

commit 1f1936ff3febf38d582177ea319eaa278f32c91f upstream.

Some of those functions try to adjust the CPU features, for example
to remove NAP support on some revisions. However, they seem to use
r5 as an index into the CPU table entry, which might have been right
a long time ago but no longer is. r4 is the right register to use.

This probably caused some off behaviours on some PowerMac variants
using 750cx or 7455 processor revisions.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/kernel/cpu_setup_6xx.S