diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
| commit | d62e54abca1146981fc9f98f85ff398a113a22c2 (patch) | |
| tree | 870420dbc4c65e716dcef8a802aafdc0ef97a8b4 /include/linux/linkage.h | |
| parent | fd4a0b92db6a57cba8d03efbe1cebf91f9124ce0 (diff) | |
| parent | ce362c009250340358a7221f3cdb7954cbf19c01 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/linkage.h')
| -rw-r--r-- | include/linux/linkage.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 147eb01e0d4b..c08c9983e840 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h | |||
| @@ -28,17 +28,27 @@ | |||
| 28 | #define ALIGN __ALIGN | 28 | #define ALIGN __ALIGN |
| 29 | #define ALIGN_STR __ALIGN_STR | 29 | #define ALIGN_STR __ALIGN_STR |
| 30 | 30 | ||
| 31 | #ifndef ENTRY | ||
| 31 | #define ENTRY(name) \ | 32 | #define ENTRY(name) \ |
| 32 | .globl name; \ | 33 | .globl name; \ |
| 33 | ALIGN; \ | 34 | ALIGN; \ |
| 34 | name: | 35 | name: |
| 36 | #endif | ||
| 35 | 37 | ||
| 36 | #define KPROBE_ENTRY(name) \ | 38 | #define KPROBE_ENTRY(name) \ |
| 37 | .section .kprobes.text, "ax"; \ | 39 | .section .kprobes.text, "ax"; \ |
| 38 | .globl name; \ | 40 | ENTRY(name) |
| 39 | ALIGN; \ | ||
| 40 | name: | ||
| 41 | 41 | ||
| 42 | #ifndef END | ||
| 43 | #define END(name) \ | ||
| 44 | .size name, .-name | ||
| 45 | #endif | ||
| 46 | |||
| 47 | #ifndef ENDPROC | ||
| 48 | #define ENDPROC(name) \ | ||
| 49 | .type name, @function; \ | ||
| 50 | END(name) | ||
| 51 | #endif | ||
| 42 | 52 | ||
| 43 | #endif | 53 | #endif |
| 44 | 54 | ||
