criu/arch/aarch64/include/asm/linkage.h
Alexander Kartashov ff0a7c1134 cr: implemented the support for the AArch64 architecture
aarch64: TLS register checkpoint/restore implementation by Christopher Covington.

Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: Christopher Covington <cov@codeaurora.org>
Reviewed-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-04-11 15:19:01 +04:00

24 lines
377 B
C

#ifndef __CR_LINKAGE_H__
#define __CR_LINKAGE_H__
#ifdef __ASSEMBLY__
#define __ALIGN .align 4, 0x00
#define __ALIGN_STR ".align 4, 0x00"
#define GLOBAL(name) \
.globl name; \
name:
#define ENTRY(name) \
.globl name; \
.type name, #function; \
__ALIGN; \
name:
#define END(sym) \
.size sym, . - sym
#endif /* __ASSEMBLY__ */
#endif /* __CR_LINKAGE_H__ */