mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH trival]x64: make one __init to __meminit
@ 2009-06-12  4:57 Shaohua Li
  2009-06-12 12:43 ` [tip:x86/urgent] x86: change kernel_physical_mapping_init() " tip-bot for Shaohua Li
  0 siblings, 1 reply; 2+ messages in thread
From: Shaohua Li @ 2009-06-12  4:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo

kernel_physical_mapping_init could be called in memory hotplug path.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>

diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index 52bb951..52e1bff 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -527,7 +527,7 @@ phys_pud_update(pgd_t *pgd, unsigned long addr, unsigned long end,
 	return phys_pud_init(pud, addr, end, page_size_mask);
 }
 
-unsigned long __init
+unsigned long __meminit
 kernel_physical_mapping_init(unsigned long start,
 			     unsigned long end,
 			     unsigned long page_size_mask)

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

end of thread, other threads:[~2009-06-12 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-12  4:57 [PATCH trival]x64: make one __init to __meminit Shaohua Li
2009-06-12 12:43 ` [tip:x86/urgent] x86: change kernel_physical_mapping_init() " tip-bot for Shaohua Li

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