powerpc/8xx: Use SPRG2 and DAR registers to stash r11 and cr.
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Tue, 2 Mar 2010 05:37:12 +0000 (05:37 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Apr 2010 08:00:34 +0000 (18:00 +1000)
commit469d62be9263b92f2c3329540cbb1c076111f4f3
tree02916b88e15132cc8bf9f74647c4b3d5400b986a
parentd069cb4373fe0d451357c4d3769623a7564dfa9f
powerpc/8xx: Use SPRG2 and DAR registers to stash r11 and cr.

This avoids storing these registers in memory.
CPU6 errata will still use the old way.
Remove some G2 leftover accesses from 2.4

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/head_8xx.S