Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / timerfd.h
blob0c33260e5dfbf55d5646a7c2bc44791fe81c47a4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * include/linux/timerfd.h
5 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
7 */
9 #ifndef _LINUX_TIMERFD_H
10 #define _LINUX_TIMERFD_H
12 #include <uapi/linux/timerfd.h>
14 #define TFD_SHARED_FCNTL_FLAGS (TFD_CLOEXEC | TFD_NONBLOCK)
15 /* Flags for timerfd_create. */
16 #define TFD_CREATE_FLAGS TFD_SHARED_FCNTL_FLAGS
17 /* Flags for timerfd_settime. */
18 #define TFD_SETTIME_FLAGS (TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET)
20 #endif /* _LINUX_TIMERFD_H */