Skip to content

Commit

Permalink
Merge pull request torvalds#375 from tavip/lkl-374
Browse files Browse the repository at this point in the history
lkl tools: hijack: remove redundant definitions of epoll_create*
  • Loading branch information
tavip authored Sep 15, 2017
2 parents 6a818c4 + 5580682 commit d432b21
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tools/lkl/lib/hijack/hijack.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,24 +305,7 @@ int select(int nfds, fd_set *r, fd_set *w, fd_set *e, struct timeval *t)
}

HOOK_CALL_USE_HOST_BEFORE_START(epoll_create);
int epoll_create(int flags)
{
int res;

if (!lkl_running)
res = host_epoll_create(flags);
else
res = lkl_call(__lkl__NR_epoll_create, 1, flags);

return res;
}

HOOK_CALL_USE_HOST_BEFORE_START(epoll_create1);
int epoll_create1(int flags)
{
return lkl_call(__lkl__NR_epoll_create1, 1, flags);
}


HOST_CALL(epoll_ctl);
int epoll_ctl(int epollfd, int op, int fd, struct epoll_event *event)
Expand Down

0 comments on commit d432b21

Please sign in to comment.