include/linux/mm.h: add PAGE_ALIGNED() helper
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 3 Jul 2013 22:02:11 +0000 (15:02 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:26 +0000 (17:19 +0200)
commit7ebda0194ff1872ef36d93cf309cc4043ffba4ee
tree210a1cccdec8f56be3d10be8f928106e2df376c6
parentad4ef3e73e40166a585d71f36a521f9f6d5db3c4
include/linux/mm.h: add PAGE_ALIGNED() helper

To test whether an address is aligned to PAGE_SIZE.

Cc: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 0fa73b86ef0797ca4fde5334117ca0b330f08030)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
include/linux/mm.h