2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-02-26 18:24:56 +08:00
|
|
|
/*
|
|
|
|
* linux/arch/unicore32/include/asm/linkage.h
|
|
|
|
*
|
|
|
|
* Code specific to PKUnity SoC and UniCore ISA
|
|
|
|
*
|
|
|
|
* Copyright (C) 2001-2010 GUAN Xue-tao
|
|
|
|
*/
|
|
|
|
#ifndef __UNICORE_LINKAGE_H__
|
|
|
|
#define __UNICORE_LINKAGE_H__
|
|
|
|
|
|
|
|
#define __ALIGN .align 0
|
|
|
|
#define __ALIGN_STR ".align 0"
|
|
|
|
|
|
|
|
#define ENDPROC(name) \
|
|
|
|
.type name, %function; \
|
|
|
|
END(name)
|
|
|
|
|
|
|
|
#endif
|