linux/kernel.h: add typechecking to roundup macro
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 6 Nov 2014 18:03:30 +0000 (03:03 +0900)
committerTom Rini <trini@ti.com>
Thu, 20 Nov 2014 16:28:25 +0000 (11:28 -0500)
commit111396ccb9a8d3e1f0e9d9921d3dbd6c7a70423f
treea1acad32c2f2c1c0fcef6f0504ef7d4c339a5c66
parent48c7ea39663a7c151a2a0b1af5d45ae3cf676299
linux/kernel.h: add typechecking to roundup macro

This commit replaces roundup macro with the one from Linux Kernel.

DEFINE_ALIGN_BUFFER must be fixed because typechecking can not
be used in this context.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
include/common.h
include/linux/kernel.h