diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-09 21:22:37 -0800 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-10 14:48:54 -0800 |
commit | 5cf97ebd8b40e2b1791136fc1476d17365864b18 (patch) | |
tree | 28f7123d675169d6e360832b9c1e879845219162 /arch/xtensa/include | |
parent | fbb871e220672a8e9e4e7870da5b206fe05904b2 (diff) | |
download | talos-obmc-linux-5cf97ebd8b40e2b1791136fc1476d17365864b18.tar.gz talos-obmc-linux-5cf97ebd8b40e2b1791136fc1476d17365864b18.zip |
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.h | 9 |
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 |