Skip to content
Commit 335e52c2 authored by David Gow's avatar David Gow Committed by Richard Weinberger
Browse files

mm: Add PAGE_ALIGN_DOWN macro



This is just the same as PAGE_ALIGN(), but rounds the address down, not
up.

Suggested-by: default avatarDmitry Vyukov <dvyukov@google.com>
Signed-off-by: default avatarDavid Gow <davidgow@google.com>
Acked-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 9e70cbd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment