summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/linkage.h')
-rw-r--r--arch/arm/include/asm/linkage.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/linkage.h b/arch/arm/include/asm/linkage.h
new file mode 100644
index 000000000..c4670694a
--- /dev/null
+++ b/arch/arm/include/asm/linkage.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+#define __ALIGN .align 0
+#define __ALIGN_STR ".align 0"
+
+#define ENDPROC(name) \
+ .type name, %function; \
+ END(name)
+
+#endif