
27 Apr
2014
27 Apr
'14
7 p.m.
On Sat, 2014-04-26 at 20:46 +0200, Marek Vasut wrote:
+#define ALIGN(x, a) __ALIGN_MASK((x), (typeof(x))(a)-1) +#define __ALIGN_MASK(x, mask) (((x)+(mask))&~(mask))
Isn't this already defined in include/common.h ?
Yes but it seems that header isn't usable by tools/* AFAICT. I get a boatload of compiler errors when I try...
Ian.