Skip to content

Commit

Permalink
Merge pull request torvalds#180 from liuyuan10/eventfd
Browse files Browse the repository at this point in the history
lkl: Remove CONFIG_EVENTFD in hijack init.c
  • Loading branch information
Octavian Purdila authored Jul 22, 2016
2 parents 4f0eee3 + 45998e0 commit d171188
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit d171188

Please sign in to comment.