]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Fix an incorrect argument of reserve_bootmem()
authorAmerigo Wang <amwang@redhat.com>
Fri, 21 Aug 2009 08:34:45 +0000 (04:34 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 21 Aug 2009 14:40:31 +0000 (16:40 +0200)
commit32c5f8c88aeb408cfa3ed52fd24d249e275a1949
treefaa3358dc3a2132e322f2728ed5858f4bf05abcf
parent293cc0843808dc02f8731552933f15b5b88a532d
x86: Fix an incorrect argument of reserve_bootmem()

This line looks suspicious, because if this is true, then the
'flags' parameter of function reserve_bootmem_generic() will be
unused when !CONFIG_NUMA. I don't think this is what we want.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: akpm@linux-foundation.org
LKML-Reference: <20090821083709.5098.52505.sendpatchset@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_64.c