summaryrefslogtreecommitdiff
path: root/firmware/include/asm/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/asm/linkage.h')
-rw-r--r--firmware/include/asm/linkage.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/firmware/include/asm/linkage.h b/firmware/include/asm/linkage.h
new file mode 100644
index 0000000..ac1c900
--- /dev/null
+++ b/firmware/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
personal git repositories of Harald Welte. Your mileage may vary