summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/linkage.h')
-rw-r--r--arch/riscv/include/asm/linkage.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/linkage.h b/arch/riscv/include/asm/linkage.h
new file mode 100644
index 000000000..9e88ba23c
--- /dev/null
+++ b/arch/riscv/include/asm/linkage.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (C) 2015 Regents of the University of California
+ */
+
+#ifndef _ASM_RISCV_LINKAGE_H
+#define _ASM_RISCV_LINKAGE_H
+
+#define __ALIGN .balign 4
+#define __ALIGN_STR ".balign 4"
+
+#endif /* _ASM_RISCV_LINKAGE_H */