summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorDaniel Kiper <dkiper@net-space.pl>2011-07-25 17:12:13 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-25 20:57:09 -0700
commit1bb36fbd4d58ec3fab4dab5ed39a2af492c263ea (patch)
treeb381b2a4a0d212053516073a8bd21e7b4c59cfad /mm/hugetlb.c
parent00a66d2974485d7d95d61d5772142b2a2231ed2a (diff)
downloadop-kernel-dev-1bb36fbd4d58ec3fab4dab5ed39a2af492c263ea.zip
op-kernel-dev-1bb36fbd4d58ec3fab4dab5ed39a2af492c263ea.tar.gz
mm/page_cgroup.c: simplify code by using SECTION_ALIGN_UP() and SECTION_ALIGN_DOWN() macros
Commit a539f3533b78e3 ("mm: add SECTION_ALIGN_UP() and SECTION_ALIGN_DOWN() macro") introduced the SECTION_ALIGN_UP() and SECTION_ALIGN_DOWN() macros. Use those macros to increase code readability. Signed-off-by: Daniel Kiper <dkiper@net-space.pl> Acked-by: David Rientjes <rientjes@google.com> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud