x86/mm: Use PAGE_ALIGNED instead of IS_ALIGNED
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 12 Jan 2016 02:19:30 +0000 (10:19 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 12 Jan 2016 10:09:48 +0000 (11:09 +0100)
commitb500f77baea576b74c3961613b67eaffcdf65c57
tree51d2435b8a6fddc95f2d0d6ef93c872fb81ff703
parent0f672809f91abd0aee01624ccad9199a62e3da7a
x86/mm: Use PAGE_ALIGNED instead of IS_ALIGNED

Use PAGE_ALIGEND macro in <linux/mm.h> to simplify code.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: <guohanjun@huawei.com>
Cc: Alexander Kuleshov <kuleshovmail@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1452565170-11083-1-git-send-email-wangkefeng.wang@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/init_64.c