diff options
author | Jan Beulich <JBeulich@suse.com> | 2015-05-28 04:29:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-28 05:08:38 -0400 |
commit | 1e6277de3a23373b89e0affc3d179f2173b857a4 (patch) | |
tree | 0ecf02cbbe77913381f677d099a292f02871f89f | |
parent | fbe7193aa4787f27c84216d130ab877efc310d57 (diff) |
x86/mm: Mark arch_ioremap_p{m,u}d_supported() __init
... 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>
-rw-r--r-- | arch/x86/mm/ioremap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index 82d63ed70045..b0da3588b452 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -365,7 +365,7 @@ void iounmap(volatile void __iomem *addr) | |||
365 | } | 365 | } |
366 | EXPORT_SYMBOL(iounmap); | 366 | EXPORT_SYMBOL(iounmap); |
367 | 367 | ||
368 | int arch_ioremap_pud_supported(void) | 368 | int __init arch_ioremap_pud_supported(void) |
369 | { | 369 | { |
370 | #ifdef CONFIG_X86_64 | 370 | #ifdef CONFIG_X86_64 |
371 | return cpu_has_gbpages; | 371 | return cpu_has_gbpages; |
@@ -374,7 +374,7 @@ int arch_ioremap_pud_supported(void) | |||
374 | #endif | 374 | #endif |
375 | } | 375 | } |
376 | 376 | ||
377 | int arch_ioremap_pmd_supported(void) | 377 | int __init arch_ioremap_pmd_supported(void) |
378 | { | 378 | { |
379 | return cpu_has_pse; | 379 | return cpu_has_pse; |
380 | } | 380 | } |