Commit 43d7e9ca authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

check: do timerfd check on mainline kernel

As of
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5442e9fbd
this feature is in mainline, so let's check for it in ms.
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 33ebd47c
...@@ -44,11 +44,6 @@ int check_timerfd(void) ...@@ -44,11 +44,6 @@ int check_timerfd(void)
{ {
int fd, ret = -1; int fd, ret = -1;
if (opts.check_ms_kernel) {
pr_warn("Skipping timerfd support check\n");
return 0;
}
fd = timerfd_create(CLOCK_MONOTONIC, 0); fd = timerfd_create(CLOCK_MONOTONIC, 0);
if (fd < 0) { if (fd < 0) {
pr_perror("timerfd_create failed"); pr_perror("timerfd_create failed");
......
Markdown is supported
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