]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:53:00 +0000 (16:53 +0200)
commit64778640412a8e0878edd75aebf096ae456e9e96
treed079dc9fdda007a479318a2b49364357c30e9f67
parent901e1734534c941ccd03b4a73ebb395fb8e15604
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