mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
33ebd47c98
commit
43d7e9ca80
1 changed files with 0 additions and 5 deletions
|
|
@ -44,11 +44,6 @@ int check_timerfd(void)
|
|||
{
|
||||
int fd, ret = -1;
|
||||
|
||||
if (opts.check_ms_kernel) {
|
||||
pr_warn("Skipping timerfd support check\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
fd = timerfd_create(CLOCK_MONOTONIC, 0);
|
||||
if (fd < 0) {
|
||||
pr_perror("timerfd_create failed");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue