aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/mm/init.c')
-rw-r--r--arch/sh/mm/init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index 8173e38afd38..c8af6c5fa586 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -323,4 +323,12 @@ int memory_add_physaddr_to_nid(u64 addr)
323} 323}
324EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid); 324EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
325#endif 325#endif
326
326#endif /* CONFIG_MEMORY_HOTPLUG */ 327#endif /* CONFIG_MEMORY_HOTPLUG */
328
329#ifdef CONFIG_PMB
330int __in_29bit_mode(void)
331{
332 return !(ctrl_inl(PMB_PASCR) & PASCR_SE);
333}
334#endif /* CONFIG_PMB */