提交 1e6277de 编写于 作者: J Jan Beulich 提交者: Ingo Molnar

x86/mm: Mark arch_ioremap_p{m,u}d_supported() __init

... as their only caller is.
Signed-off-by: NJan Beulich <jbeulich@suse.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/5566EE07020000780007E683@mail.emea.novell.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 fbe7193a
...@@ -365,7 +365,7 @@ void iounmap(volatile void __iomem *addr) ...@@ -365,7 +365,7 @@ void iounmap(volatile void __iomem *addr)
} }
EXPORT_SYMBOL(iounmap); EXPORT_SYMBOL(iounmap);
int arch_ioremap_pud_supported(void) int __init arch_ioremap_pud_supported(void)
{ {
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
return cpu_has_gbpages; return cpu_has_gbpages;
...@@ -374,7 +374,7 @@ int arch_ioremap_pud_supported(void) ...@@ -374,7 +374,7 @@ int arch_ioremap_pud_supported(void)
#endif #endif
} }
int arch_ioremap_pmd_supported(void) int __init arch_ioremap_pmd_supported(void)
{ {
return cpu_has_pse; return cpu_has_pse;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册