summaryrefslogtreecommitdiff
path: root/arch/xtensa/include
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-12-10 08:22:37 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2017-12-11 01:48:54 +0300
commit5cf97ebd8b40e2b1791136fc1476d17365864b18 (patch)
tree28f7123d675169d6e360832b9c1e879845219162 /arch/xtensa/include
parentfbb871e220672a8e9e4e7870da5b206fe05904b2 (diff)
downloadlinux-5cf97ebd8b40e2b1791136fc1476d17365864b18.tar.xz
xtensa: clean up functions in assembly code
Use ENTRY and ENDPROC throughout arch/xtensa/lib assembly sources. Introduce asm/linkage.h and define xtensa-specific __ALIGN macro there. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r--arch/xtensa/include/asm/linkage.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/linkage.h b/arch/xtensa/include/asm/linkage.h
new file mode 100644
index 000000000000..0ba9973235d9
--- /dev/null
+++ b/arch/xtensa/include/asm/linkage.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+#define __ALIGN .align 4
+#define __ALIGN_STR ".align 4"
+
+#endif