X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Documentation%2Fkprobes.txt;h=cb12ae175aa2de80b3114434c20e64cac4857593;hb=ca1f32a76bcd5fb3d655a989edd7c004c4a63bc6;hp=da5404ab75691c58e3d69c89ea1a3f8ba1fd993b;hpb=932c37c375cca25175f9b6acee4c75d7a96d985f;p=powerpc.git diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt index da5404ab75..cb12ae175a 100644 --- a/Documentation/kprobes.txt +++ b/Documentation/kprobes.txt @@ -247,12 +247,6 @@ control to Kprobes.) If the probed function is declared asmlinkage, fastcall, or anything else that affects how args are passed, the handler's declaration must match. -NOTE: A macro JPROBE_ENTRY is provided to handle architecture-specific -aliasing of jp->entry. In the interest of portability, it is advised -to use: - - jp->entry = JPROBE_ENTRY(handler); - register_jprobe() returns 0 on success, or a negative errno otherwise. 4.3 register_kretprobe @@ -518,7 +512,7 @@ long jdo_fork(unsigned long clone_flags, unsigned long stack_start, } static struct jprobe my_jprobe = { - .entry = JPROBE_ENTRY(jdo_fork) + .entry = jdo_fork }; static int __init jprobe_init(void)