diff options
Diffstat (limited to 'Documentation/kprobes.txt')
-rw-r--r-- | Documentation/kprobes.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt index da5404ab7569..cb12ae175aa2 100644 --- a/Documentation/kprobes.txt +++ b/Documentation/kprobes.txt | |||
@@ -247,12 +247,6 @@ control to Kprobes.) If the probed function is declared asmlinkage, | |||
247 | fastcall, or anything else that affects how args are passed, the | 247 | fastcall, or anything else that affects how args are passed, the |
248 | handler's declaration must match. | 248 | handler's declaration must match. |
249 | 249 | ||
250 | NOTE: A macro JPROBE_ENTRY is provided to handle architecture-specific | ||
251 | aliasing of jp->entry. In the interest of portability, it is advised | ||
252 | to use: | ||
253 | |||
254 | jp->entry = JPROBE_ENTRY(handler); | ||
255 | |||
256 | register_jprobe() returns 0 on success, or a negative errno otherwise. | 250 | register_jprobe() returns 0 on success, or a negative errno otherwise. |
257 | 251 | ||
258 | 4.3 register_kretprobe | 252 | 4.3 register_kretprobe |
@@ -518,7 +512,7 @@ long jdo_fork(unsigned long clone_flags, unsigned long stack_start, | |||
518 | } | 512 | } |
519 | 513 | ||
520 | static struct jprobe my_jprobe = { | 514 | static struct jprobe my_jprobe = { |
521 | .entry = JPROBE_ENTRY(jdo_fork) | 515 | .entry = jdo_fork |
522 | }; | 516 | }; |
523 | 517 | ||
524 | static int __init jprobe_init(void) | 518 | static int __init jprobe_init(void) |