On Sun 26-05-13 13:58:38, Wanpeng Li wrote: > As KOSAKI Motohiro mentioned, memory hotplug don't support 32bit since > it was born, Why? any reference? This reasoning is really weak. > this patch disable memory hotremove when 32bit at compile > time. > > Suggested-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> > Signed-off-by: Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx> > --- > mm/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/mm/Kconfig b/mm/Kconfig > index e742d06..ada9569 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -184,6 +184,7 @@ config MEMORY_HOTREMOVE > bool "Allow for memory hot remove" > select MEMORY_ISOLATION > select HAVE_BOOTMEM_INFO_NODE if X86_64 > + depends on 64BIT > depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE > depends on MIGRATION > > -- > 1.8.1.2 > -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html