projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23ea894
)
[DCCP]: Make dccp_probe more portable
author
Ian McDonald
<ian.mcdonald@jandi.co.nz>
Mon, 20 Nov 2006 20:41:37 +0000
(18:41 -0200)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:24:39 +0000
(21:24 -0800)
This makes the code of the dccp_probe module more portable.
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/dccp/probe.c
patch
|
blob
|
blame
|
history
diff --git
a/net/dccp/probe.c
b/net/dccp/probe.c
index fded1493c1dcc8a01884407b8f34d4b6a7834c98..f81e37de35d594714ebb84d73d2a336d7fb30515 100644
(file)
--- a/
net/dccp/probe.c
+++ b/
net/dccp/probe.c
@@
-106,8
+106,10
@@
static int jdccp_sendmsg(struct kiocb *iocb, struct sock *sk,
}
static struct jprobe dccp_send_probe = {
- .kp = { .addr = (kprobe_opcode_t *)&dccp_sendmsg, },
- .entry = (kprobe_opcode_t *)&jdccp_sendmsg,
+ .kp = {
+ .symbol_name = "dccp_sendmsg",
+ },
+ .entry = JPROBE_ENTRY(jdccp_sendmsg),
};
static int dccpprobe_open(struct inode *inode, struct file *file)