diff options
author | Daniel Kiper <dkiper@net-space.pl> | 2011-07-25 17:12:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 20:57:09 -0700 |
commit | 1bb36fbd4d58ec3fab4dab5ed39a2af492c263ea (patch) | |
tree | b381b2a4a0d212053516073a8bd21e7b4c59cfad /mm/huge_memory.c | |
parent | 00a66d2974485d7d95d61d5772142b2a2231ed2a (diff) | |
download | linux-stable-1bb36fbd4d58ec3fab4dab5ed39a2af492c263ea.tar.gz linux-stable-1bb36fbd4d58ec3fab4dab5ed39a2af492c263ea.tar.bz2 linux-stable-1bb36fbd4d58ec3fab4dab5ed39a2af492c263ea.zip |
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/huge_memory.c')
0 files changed, 0 insertions, 0 deletions