From ee390923e8483085bdc6b4b24f7d49fe9ff7e126 Mon Sep 17 00:00:00 2001 From: Adrian Bonislawski Date: Wed, 5 Jun 2019 14:17:51 +0200 Subject: [PATCH] sof: add default ALIGN macro This will add default ALIGN macro so defines which are using ALIGN can work in main code and linker scripts using linker definition for ALIGN Signed-off-by: Adrian Bonislawski --- src/include/sof/sof.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/sof/sof.h b/src/include/sof/sof.h index 32fd4c3c165b..3d5369c6cbdd 100644 --- a/src/include/sof/sof.h +++ b/src/include/sof/sof.h @@ -30,6 +30,7 @@ struct sa; ((size) - ((size) % (alignment)) + (alignment))) #define ALIGN_DOWN(size, alignment) \ ((size) - ((size) % (alignment))) +#define ALIGN ALIGN_UP #define __packed __attribute__((packed))