Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lkl: Remove CONFIG_EVENTFD in hijack init.c #180

Merged
1 commit merged into from
Jul 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions tools/lkl/lib/hijack/hijack.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,6 @@ int epoll_ctl(int epollfd, int op, int fd, struct epoll_event *event)
return lkl_call(__lkl__NR_epoll_ctl, 4, epollfd, op, fd, event);
}

#ifdef CONFIG_EVENTFD
/* Hijack eventfd only if we turned it on in our config files */
int eventfd(unsigned int count, int flags)
{
return lkl_sys_eventfd2(count, flags);
Expand Down Expand Up @@ -310,4 +308,3 @@ int eventfd_write(int fd, uint64_t value)
return lkl_sys_write(fd, (void *) &value,
sizeof(value)) != sizeof(value) ? -1 : 0;
}
#endif