[PATCH 01/13] kexec: add _ALIGN* marcos for align operation
Simon Horman
horms at verge.net.au
Thu Mar 14 05:47:59 EDT 2013
On Thu, Mar 14, 2013 at 01:19:13AM +0800, Zhang Yanfei wrote:
> From: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
>
> This patch imports Macros for align operation:
> - _ALIGN_UP(addr, size): align addr up on a size boundary
> - _ALIGN_DOWN(addr, size): align addr down on a size boundary
> - _ALIGN(addr, size): align addr up on a size boundary
>
> Signed-off-by: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
Thanks, applied.
More information about the kexec
mailing list