sh: Tidy up the sh bios VBR handling.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 12 Jan 2010 05:50:43 +0000 (14:50 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 12 Jan 2010 05:50:43 +0000 (14:50 +0900)
commit191d0d24b632eb69767705acded5cbf7449ad457
tree4fda30db2941692bea884685f1df2e751468bd6f
parentee2760ea58d81fc00bcc2137232ed9bc28202aec
sh: Tidy up the sh bios VBR handling.

This moves the VBR handling out of the main trap handling code and in to
the sh-bios helper code. A couple of accessors are added in order to
permit other kernel code to get at the VBR value for state save/restore
paths.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/sh_bios.h
arch/sh/kernel/machine_kexec.c
arch/sh/kernel/sh_bios.c
arch/sh/kernel/traps_32.c