MIPS: Use C0_KScratch (if present) to hold PGD pointer.
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 21 Dec 2010 22:19:11 +0000 (14:19 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 18 Jan 2011 18:30:22 +0000 (19:30 +0100)
commit3d8bfdd0307223de678962f1c1907a7cec549136
tree007146d1452d054e5e676b5a930d48292b0ae4b6
parentc42aef0947d717849f31965ecc0778707839bfe0
MIPS: Use C0_KScratch (if present) to hold PGD pointer.

Decide at runtime to use either Context or KScratch to hold the PGD
pointer.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1876/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mmu_context.h
arch/mips/kernel/traps.c
arch/mips/mm/tlbex.c