common.h: Introduce DEFINE_CACHE_ALIGN_BUFFER
authorMarek Vasut <marex@denx.de>
Sun, 15 Jul 2012 04:43:47 +0000 (04:43 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 18 Jul 2012 12:43:14 +0000 (14:43 +0200)
commitde4d11355f70e243f91a49fd15c2004251d8f45b
treea70dc34c45c295b888562330277aac752bcbed33
parenteec3866e00faf700a4b7d3b30266383914da347f
common.h: Introduce DEFINE_CACHE_ALIGN_BUFFER

This is the out-of-function-scope counterpart of
ALLOC_CACHE_ALIGN_BUFFER.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@ti.com>
[ilya.yanok]: added missing <linux/compiler.h> include and
{DEFINE,ALLOC}_ALIGN_BUFFER macros allowing explicit alignment
specification.
Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
include/common.h