x86/mm: Mark arch_ioremap_p{m,u}d_supported() __init
authorJan Beulich <JBeulich@suse.com>
Thu, 28 May 2015 08:29:27 +0000 (09:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 28 May 2015 09:08:38 +0000 (11:08 +0200)
... as their only caller is.

Signed-off-by: Jan 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.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/ioremap.c

index 82d63ed700458bfecbc84124a199fdf1759128be..b0da3588b452de743928b15cdacde58f146adcd0 100644 (file)
@@ -365,7 +365,7 @@ void iounmap(volatile void __iomem *addr)
 }
 EXPORT_SYMBOL(iounmap);
 
-int arch_ioremap_pud_supported(void)
+int __init arch_ioremap_pud_supported(void)
 {
 #ifdef CONFIG_X86_64
        return cpu_has_gbpages;
@@ -374,7 +374,7 @@ int arch_ioremap_pud_supported(void)
 #endif
 }
 
-int arch_ioremap_pmd_supported(void)
+int __init arch_ioremap_pmd_supported(void)
 {
        return cpu_has_pse;
 }