diff options
author | Aurelien Jacquiot <a-jacquiot@ti.com> | 2011-10-04 19:14:47 +0400 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2011-10-07 03:48:20 +0400 |
commit | a7f626c1948ab6178d2338831c5ffea7385e9f7f (patch) | |
tree | 03eaee71023fa633c24a3d28a30da57b454293ae /arch/c6x/include/asm/linkage.h | |
parent | 52679b2d735492bce02503bafb333da87fae22c2 (diff) | |
download | linux-a7f626c1948ab6178d2338831c5ffea7385e9f7f.tar.xz |
C6X: headers
Original port to early 2.6 kernel using TI COFF toolchain.
Brought up to date by Mark Salter <msalter@redhat.com>
Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/c6x/include/asm/linkage.h')
-rw-r--r-- | arch/c6x/include/asm/linkage.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/linkage.h b/arch/c6x/include/asm/linkage.h new file mode 100644 index 000000000000..376925c47d57 --- /dev/null +++ b/arch/c6x/include/asm/linkage.h @@ -0,0 +1,30 @@ +#ifndef _ASM_C6X_LINKAGE_H +#define _ASM_C6X_LINKAGE_H + +#ifdef __ASSEMBLER__ + +#define __ALIGN .align 2 +#define __ALIGN_STR ".align 2" + +#ifndef __DSBT__ +#define ENTRY(name) \ + .global name @ \ + __ALIGN @ \ +name: +#else +#define ENTRY(name) \ + .global name @ \ + .hidden name @ \ + __ALIGN @ \ +name: +#endif + +#define ENDPROC(name) \ + .type name, @function @ \ + .size name, . - name + +#endif + +#include <asm-generic/linkage.h> + +#endif /* _ASM_C6X_LINKAGE_H */ |