forked from Minki/linux
[DCCP]: Make dccp_probe more portable
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>
This commit is contained in:
parent
23ea8945f6
commit
e1b7441e80
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user