source: svn/trunk/newcon3bcm2_21bu/toolchain/mipsel-linux-uclibc/include/linux/linkage.h @ 29

Last change on this file since 29 was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 722 bytes
Line 
1#ifndef _LINUX_LINKAGE_H
2#define _LINUX_LINKAGE_H
3
4#include <asm/linkage.h>
5
6#ifdef __cplusplus
7#define CPP_ASMLINKAGE extern "C"
8#else
9#define CPP_ASMLINKAGE
10#endif
11
12#ifndef asmlinkage
13#define asmlinkage CPP_ASMLINKAGE
14#endif
15
16#ifndef prevent_tail_call
17# define prevent_tail_call(ret) do { } while (0)
18#endif
19
20#ifndef __ALIGN
21#define __ALIGN         .align 4,0x90
22#define __ALIGN_STR     ".align 4,0x90"
23#endif
24
25#ifdef __ASSEMBLY__
26
27#define ALIGN __ALIGN
28#define ALIGN_STR __ALIGN_STR
29
30#define ENTRY(name) \
31  .globl name; \
32  ALIGN; \
33  name:
34
35#endif
36
37#define NORET_TYPE    /**/
38#define ATTRIB_NORET  __attribute__((noreturn))
39#define NORET_AND     noreturn,
40
41#ifndef FASTCALL
42#define FASTCALL(x)     x
43#define fastcall
44#endif
45
46#endif
Note: See TracBrowser for help on using the repository browser.