diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h index ae4a5f96d96b..7f8fa5f76459 100644 --- a/sys/arm/include/param.h +++ b/sys/arm/include/param.h @@ -54,6 +54,8 @@ #define _ALIGN(p) (((unsigned)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) #endif +#define STACKALIGNBYTES (8 - 1) +#define STACKALIGN(p) ((u_int)(p) & ~STACKALIGNBYTES) #ifndef _MACHINE #define _MACHINE "arm" #endif