summaryrefslogtreecommitdiffstats
path: root/apps/osmocomBB/osmocomBB/include/asm/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/osmocomBB/osmocomBB/include/asm/linkage.h')
-rw-r--r--apps/osmocomBB/osmocomBB/include/asm/linkage.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/osmocomBB/osmocomBB/include/asm/linkage.h b/apps/osmocomBB/osmocomBB/include/asm/linkage.h
new file mode 100644
index 0000000000..ac1c900f00
--- /dev/null
+++ b/apps/osmocomBB/osmocomBB/include/asm/linkage.h
@@ -0,0 +1,18 @@
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+/* asm-arm/linkage.h */
+
+#define __ALIGN .align 0
+#define __ALIGN_STR ".align 0"
+
+/* linux/linkage.h */
+
+#define ALIGN __ALIGN
+
+#define ENTRY(name) \
+ .globl name; \
+ ALIGN; \
+ name:
+
+#endif