]> git.proxmox.com Git - mirror_ubuntu-disco-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>
Mon, 24 Aug 2009 18:22:55 +0000 (20:22 +0200)
commita6a06f7b577f89d0b916c5ccaff67ca5ed444a78
tree437fb9b0b481af3f82e98f522b43b6b5dcda6f40
parentfc0ce23506d943b9eaa731a051769d0e0605eb03
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