]> git.baikalelectronics.ru Git - kernel.git/commit
bootmem: Move contig_page_data definition to bootmem.c/nobootmem.c
authorYinghai Lu <yinghai@kernel.org>
Thu, 24 Feb 2011 13:43:06 +0000 (14:43 +0100)
committerTejun Heo <tj@kernel.org>
Thu, 24 Feb 2011 13:43:06 +0000 (14:43 +0100)
commitd22c34a4d566b0301a8d3f53205d2c996c7804a7
tree496e4ccaeadf3551d4c516b9f36c7c087eef9e3b
parent050e1b31851e91d09784f3fc1dbab4b9fd82a2e6
bootmem: Move contig_page_data definition to bootmem.c/nobootmem.c

Now that bootmem.c and nobootmem.c are separate, it's cleaner to
define contig_page_data in each file than in page_alloc.c with #ifdef.
Move it.

This patch doesn't introduce any behavior change.

-v2: According to Andrew, fixed the struct layout.
-tj: Updated commit description.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/bootmem.c
mm/nobootmem.c
mm/page_alloc.c