include: types: Add __aligned(x) to define the minimum alignement
authorChristoph Muellner <cmuellner@linux.com>
Tue, 6 Apr 2021 01:53:52 +0000 (03:53 +0200)
committerAnup Patel <anup@brainfault.org>
Fri, 9 Apr 2021 13:07:06 +0000 (18:37 +0530)
commitd4a94ea471451f0a24e02e2e7ebf869bb4f7dbf4
treef58500cda64030d60c7382d76131d42dbdaa02cb
parente71a7c10a934cdfa4c88f0f7b0c8ecb33c9bcff1
include: types: Add __aligned(x) to define the minimum alignement

The __aligned(x) macro is a common wrapper around compiler's
aligned attribute, which allow to define the minimum alignement
of a data type. Let's add this macro.

Signed-off-by: Christoph Muellner <cmuellner@linux.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
include/sbi/sbi_types.h