sh: Make 29/32-bit mode check helper generally available.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 20 Jan 2010 07:40:48 +0000 (16:40 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 20 Jan 2010 07:40:48 +0000 (16:40 +0900)
commit2efa53b269ec1e9289a108e1506f53f6f1de440b
treea5825e18be1044b2472cba5776e1ef47377f9834
parent5f240718b475dcddee86b138b624f24c681dbb29
sh: Make 29/32-bit mode check helper generally available.

Presently __in_29bit_mode() is only defined for the PMB case, but
it's also easily derived from the CONFIG_29BIT and CONFIG_32BIT &&
CONFIG_PMB=n cases.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/addrspace.h
arch/sh/include/asm/mmu.h
arch/sh/mm/init.c
arch/sh/mm/pmb.c