mm/vmalloc: use PAGE_ALIGNED() to check PAGE_SIZE alignment
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 17 Mar 2016 21:20:37 +0000 (14:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commita1c0b1a074c0095492a956b4fe0067b74a82cfe3
treee8ddc736e65674f84a4167af21871a3258e05f4f
parente0775d10f1e65548fcbadf614a6bf3d216165021
mm/vmalloc: use PAGE_ALIGNED() to check PAGE_SIZE alignment

We have PAGE_ALIGNED() in mm.h, so let's use it instead of IS_ALIGNED()
for checking PAGE_SIZE aligned case.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c