diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-05-14 16:05:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-14 19:11:14 -0700 |
commit | c3723ca3874a8fc2218c4726d57e3a7da9e83e47 (patch) | |
tree | d7aa49e6ce3d10bcab1a79e3045425dad6906c40 /include/asm-um/bug.h | |
parent | 3b7ec117bf6c98f5a845311c4ca5ca020a3d7689 (diff) | |
download | kernel_samsung_smdk4412-c3723ca3874a8fc2218c4726d57e3a7da9e83e47.zip kernel_samsung_smdk4412-c3723ca3874a8fc2218c4726d57e3a7da9e83e47.tar.gz kernel_samsung_smdk4412-c3723ca3874a8fc2218c4726d57e3a7da9e83e47.tar.bz2 |
memory hotplug: memmap_init_zone called twice
__add_zone calls memmap_init_zone twice if memory gets attached to an empty
zone. Once via init_currently_empty_zone and once explictly right after that
call.
Looks like this is currently not a bug, however the call is superfluous and
might lead to subtle bugs if memmap_init_zone gets changed. So make sure it
is called only once.
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-um/bug.h')
0 files changed, 0 insertions, 0 deletions