sh: Use MMU.TTB register as pointer to current pgd.
authorStuart Menefy <stuart.menefy@st.com>
Tue, 21 Nov 2006 04:53:44 +0000 (13:53 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:38 +0000 (10:45 +0900)
commit6e4662ff49c6b94e16a47bfddb920576963b5a20
treeb53bcf136cc8df9e09f63f06321cad3622694c70
parentb5a1bcbee434b843c8850a968d9a6c7541f1be9d
sh: Use MMU.TTB register as pointer to current pgd.

Add TTB accessor functions and give it a sensible default
value. We will use this later for optimizing the fault
path.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/init.c
include/asm-sh/mmu_context.h