summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-07-12 09:44:22 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2011-07-13 06:58:11 +0200
commitd0ead157387f19801beb1b419568723b2e9b7c79 (patch)
tree0615789f48d6ccd91036ddb5cb8fcdb3048ebe8a /mm/page_alloc.c
parentLinux 3.0-rc7 (diff)
downloadlinux-d0ead157387f19801beb1b419568723b2e9b7c79.tar.xz
linux-d0ead157387f19801beb1b419568723b2e9b7c79.zip
x86, mm: s/PAGES_PER_ELEMENT/PAGES_PER_SECTION/
DISCONTIGMEM on x86-32 implements pfn -> nid mapping similarly to SPARSEMEM; however, it calls each mapping unit ELEMENT instead of SECTION. This patch renames it to SECTION so that PAGES_PER_SECTION is valid for both DISCONTIGMEM and SPARSEMEM. This will be used by the next patch to implement mapping granularity check. This patch is trivial constant rename. Signed-off-by: Tejun Heo <tj@kernel.org> Link: http://lkml.kernel.org/r/20110712074422.GA2872@htj.dyndns.org Cc: Hans Rosenfeld <hans.rosenfeld@amd.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions