aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/addrspace.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-20 16:40:48 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-01-20 16:40:48 +0900
commit2efa53b269ec1e9289a108e1506f53f6f1de440b (patch)
treea5825e18be1044b2472cba5776e1ef47377f9834 /arch/sh/include/asm/addrspace.h
parentsh: mach-sdk7786: Split out FPGA IRQ controller setup. (diff)
downloadlinux-dev-2efa53b269ec1e9289a108e1506f53f6f1de440b.tar.xz
linux-dev-2efa53b269ec1e9289a108e1506f53f6f1de440b.zip
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>
Diffstat (limited to 'arch/sh/include/asm/addrspace.h')
-rw-r--r--arch/sh/include/asm/addrspace.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sh/include/asm/addrspace.h b/arch/sh/include/asm/addrspace.h
index 268efd62ed21..446b3831c214 100644
--- a/arch/sh/include/asm/addrspace.h
+++ b/arch/sh/include/asm/addrspace.h
@@ -65,11 +65,5 @@
#define P3_ADDR_MAX P4SEG
#endif
-#ifndef __ASSEMBLY__
-#ifdef CONFIG_PMB
-extern int __in_29bit_mode(void);
-#endif /* CONFIG_PMB */
-#endif /* __ASSEMBLY__ */
-
#endif /* __KERNEL__ */
#endif /* __ASM_SH_ADDRSPACE_H */