]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PPC] 8xx: Fix r3 trashing due to 8MB TLB page instantiation
authorJochen Friedrich <jochen@scram.de>
Tue, 28 Aug 2007 11:20:48 +0000 (13:20 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 10 Sep 2007 21:01:22 +0000 (16:01 -0500)
commit36c50f729b77144cae8d43457fefca66a4eeff6a
treeb787678172ddfc4c1c6c4901b25ccd581cb67376
parent2af8569dc9f29c303bf4aa012d991afcfaeed0c3
[PPC] 8xx: Fix r3 trashing due to 8MB TLB page instantiation

Instantiation of 8MB pages on the TLB cache for the kernel static
mapping trashes r3 register on !CONFIG_8xx_CPU6 configurations.
This ensures r3 gets saved and restored.

This has been posted to linuxppc-embedded by Marcelo Tosatti
<marcelo@kvack.org>, but only an incomplete version of the patch
has been applied in c51e078f82096a7d35ac8ec2416272e843a0e1c4.
This patch adds the rest of the fix.

Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/ppc/kernel/head_8xx.S