Commit 3ef0df5e authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl/timerfd: enable get/set from in-band context

Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <>
parent bfce9a18
......@@ -606,8 +606,8 @@ static bool read_timerfd_event(struct evl_timerfd *timerfd)
return false;
static long timerfd_oob_ioctl(struct file *filp,
unsigned int cmd, unsigned long arg)
static long timerfd_common_ioctl(struct file *filp,
unsigned int cmd, unsigned long arg)
struct evl_timerfd *timerfd = filp->private_data;
struct evl_timerfd_setreq sreq, __user *u_sreq;
......@@ -702,9 +702,10 @@ static int timerfd_release(struct inode *inode, struct file *filp)
static const struct file_operations timerfd_fops = {
.release = timerfd_release,
.oob_ioctl = timerfd_oob_ioctl,
.oob_ioctl = timerfd_common_ioctl,
.oob_read = timerfd_oob_read,
.oob_poll = timerfd_oob_poll,
.unlocked_ioctl = timerfd_common_ioctl,
static int new_timerfd(struct evl_clock *clock)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment