mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: mark arch_ioremap_p{m,u}d_supported() __init
@ 2015-05-28  8:29 Jan Beulich
  2015-05-28  9:32 ` [tip:x86/mm] x86/mm: Mark " tip-bot for Jan Beulich
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2015-05-28  8:29 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: linux-kernel

... as their only caller is.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
 arch/x86/mm/ioremap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- 4.1-rc5/arch/x86/mm/ioremap.c
+++ 4.1-rc5-x86-ioremap-huge-supported/arch/x86/mm/ioremap.c
@@ -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;
 }




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-28  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-28  8:29 [PATCH] x86: mark arch_ioremap_p{m,u}d_supported() __init Jan Beulich
2015-05-28  9:32 ` [tip:x86/mm] x86/mm: Mark " tip-bot for Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome