From: Benjamin Herrenschmidt Date: Thu, 20 Jan 2011 20:35:23 +0000 (+0000) Subject: powerpc: Fix some 6xx/7xxx CPU setup functions X-Git-Tag: v2.6.38-rc4~3^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f1936ff3febf38d582177ea319eaa278f32c91f;p=pandora-kernel.git powerpc: Fix some 6xx/7xxx CPU setup functions 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 CC: stable@kernel.org --- Reading git-diff-tree failed