UPSTREAM: 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)
committerStricted <info@stricted.net>
Tue, 6 Aug 2019 11:33:34 +0000 (11:33 +0000)
commit6f27307a61f7afd0abca1eb0314f4619c4ebfcf3
tree1704794a459f591e1396d284588762dffd5d9979
parent6723b4ca0e65649557298f5e58644870e41136d6
UPSTREAM: 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)

Bug: 36007193
Change-Id: I7e912bb0dbd8c9737fb13c5b48acb54ee39dd5fc
include/linux/mm.h