x86: mark arch_ioremap_p{m,u}d_supported() __init
PATCH 1/1 x86: mark arch_ioremap_p{m,u}d_supported() __init
... as their only caller is.
Signed-off-by Jan Beulich <[email protected]>
--- arch/x86/mm/ioremap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/ioremap.c +2 -2
@@ -331,7 +331,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;
@@ -340,7 +340,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; }
tip-bot for Jan Beulich
merge bot[tip:x86/mm] x86/mm: Mark arch_ioremap_p{m,u}d_supported() __init
x86/mm: Mark arch_ioremap_p{m,u}d_supported() __init
Commit-ID: 1e6277de3a23373b89e0affc3d179f2173b857a4 Gitweb: http://git.kernel.org/tip/1e6277de3a23373b89e0affc3d179f2173b857a4 Author: Jan Beulich <[email protected]> AuthorDate: Thu, 28 May 2015 09:29:27 +0100 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 28 May 2015 11:08:38 +0200
x86/mm: Mark arch_ioremap_p{m,u}d_supported() __init
... as their only caller is.
Signed-off-by Jan Beulich <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/mm/ioremap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/ioremap.c +2 -2
@@ -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; }