diff options
| -rw-r--r-- | arch/arm/include/asm/linkage.h | 7 | ||||
| -rw-r--r-- | include/linux/linkage.h | 7 | 
2 files changed, 13 insertions, 1 deletions
| diff --git a/arch/arm/include/asm/linkage.h b/arch/arm/include/asm/linkage.h new file mode 100644 index 000000000..dbe4b4e31 --- /dev/null +++ b/arch/arm/include/asm/linkage.h @@ -0,0 +1,7 @@ +#ifndef __ASM_LINKAGE_H +#define __ASM_LINKAGE_H + +#define __ALIGN .align 0 +#define __ALIGN_STR ".align 0" + +#endif diff --git a/include/linux/linkage.h b/include/linux/linkage.h index ed4cf6cbc..7b749bbda 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -44,8 +44,13 @@  #define SYMBOL_NAME_LABEL(X)	X:  #endif +#ifndef __ALIGN  #define __ALIGN .align		4 +#endif + +#ifndef __ALIGN_STR  #define __ALIGN_STR		".align 4" +#endif  #ifdef __ASSEMBLY__ @@ -67,7 +72,7 @@  #ifndef ENDPROC  #define ENDPROC(name) \ -	.type name, @function; \ +	.type name STT_FUNC; \  	END(name)  #endif |