sh: Make most PMB functions static
authorMatt Fleming <matt@console-pimps.org>
Tue, 6 Oct 2009 21:22:28 +0000 (21:22 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 10 Oct 2009 12:51:37 +0000 (21:51 +0900)
commit8386aebb9e15a94137693ea4f4df84207f71cc75
treed290d8455eac2085f79d5c03b5b5e1f6ba222be5
parentb336f124b1cca55c28b2c5df0e02aa5ace5be7d4
sh: Make most PMB functions static

There's no need to export the internal PMB functions for allocating,
freeing and modifying PMB entries, etc. This way we can restrict the
interface for PMB.

Also remove the static from pmb_init() so that we have more freedom in
setting up the initial PMB entries and turning on MMU 32bit mode.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/mmu.h
arch/sh/kernel/setup.c
arch/sh/mm/pmb.c