git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
linux
/
linkage.h
diff --git
a/include/linux/linkage.h
b/include/linux/linkage.h
index
09955c0
..
c08c998
100644
(file)
--- a/
include/linux/linkage.h
+++ b/
include/linux/linkage.h
@@
-14,6
+14,10
@@
#define asmlinkage CPP_ASMLINKAGE
#endif
#define asmlinkage CPP_ASMLINKAGE
#endif
+#ifndef prevent_tail_call
+# define prevent_tail_call(ret) do { } while (0)
+#endif
+
#ifndef __ALIGN
#define __ALIGN .align 4,0x90
#define __ALIGN_STR ".align 4,0x90"
#ifndef __ALIGN
#define __ALIGN .align 4,0x90
#define __ALIGN_STR ".align 4,0x90"
@@
-24,10
+28,27
@@
#define ALIGN __ALIGN
#define ALIGN_STR __ALIGN_STR
#define ALIGN __ALIGN
#define ALIGN_STR __ALIGN_STR
+#ifndef ENTRY
#define ENTRY(name) \
.globl name; \
ALIGN; \
name:
#define ENTRY(name) \
.globl name; \
ALIGN; \
name:
+#endif
+
+#define KPROBE_ENTRY(name) \
+ .section .kprobes.text, "ax"; \
+ ENTRY(name)
+
+#ifndef END
+#define END(name) \
+ .size name, .-name
+#endif
+
+#ifndef ENDPROC
+#define ENDPROC(name) \
+ .type name, @function; \
+ END(name)
+#endif
#endif
#endif