module: remove duplicate ALIGN and __ALIGN_MASK definition
This is already defined in include/common.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
ab058b10eb
commit
a485953521
|
@ -129,9 +129,6 @@ static int simplify_symbols(Elf32_Shdr *sechdrs,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1)
|
|
||||||
#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask))
|
|
||||||
|
|
||||||
/* Update size with this section: return offset. */
|
/* Update size with this section: return offset. */
|
||||||
static long get_offset(unsigned long *size, Elf32_Shdr *sechdr)
|
static long get_offset(unsigned long *size, Elf32_Shdr *sechdr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue