]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86-32, numa: Align pgdat size while initializing alloc_remap
authorTejun Heo <tj@kernel.org>
Mon, 4 Apr 2011 22:23:48 +0000 (00:23 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 7 Apr 2011 00:56:52 +0000 (17:56 -0700)
commita6c24f7a705d939ddd2fcaa443fa3d8e852b933d
tree8d6589d63eb0eae9f5291b025dfd8c665fef52d2
parent3fe14ab541cd9b0d1f243afb7556046f12c8743c
x86-32, numa: Align pgdat size while initializing alloc_remap

When pgdat is reserved in init_remap_allocator(), PAGE_SIZE aligned
size will be used.  Match the size alignment in initialization to
avoid allocation failure down the road.

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/1301955840-7246-3-git-send-email-tj@kernel.org
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/numa_32.c