]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:32 +0000 (12:46 -0400)
commit394dba884202f19572802016ac7949c8a08cdea2
treefdd3c4cee24b018b5d237bc252957e590ce06653
parent93b75f6331e290a50e2905e8b15e51afba6a9549
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: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/powerpc/kernel/cpu_setup_6xx.S