~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/linux/timerfd.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 * shared O_* flags.
20
20
 */
21
21
#define TFD_TIMER_ABSTIME (1 << 0)
 
22
#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
22
23
#define TFD_CLOEXEC O_CLOEXEC
23
24
#define TFD_NONBLOCK O_NONBLOCK
24
25
 
26
27
/* Flags for timerfd_create.  */
27
28
#define TFD_CREATE_FLAGS TFD_SHARED_FCNTL_FLAGS
28
29
/* Flags for timerfd_settime.  */
29
 
#define TFD_SETTIME_FLAGS TFD_TIMER_ABSTIME
 
30
#define TFD_SETTIME_FLAGS (TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET)
30
31
 
31
32
#endif /* _LINUX_TIMERFD_H */