mm: add SECTION_ALIGN_UP() and SECTION_ALIGN_DOWN() macro
commit a539f353 upstream. Add SECTION_ALIGN_UP() and SECTION_ALIGN_DOWN() macro which aligns given pfn to upper section and lower section boundary accordingly. Required for the latest memory hotplug support for the Xen balloon driver. Signed-off-by:Daniel Kiper <dkiper@net-space.pl> Reviewed-by:
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> David Rientjes <rientjes@google.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> [wt: only needed for next patch] Signed-off-by:
Willy Tarreau <w@1wt.eu>
Showing
Please register or sign in to comment