migrate_timers: add comment, use spinlock_irq()
[linux-2.6/mini2440.git] / include / linux / timerfd.h
blob86cb0501d3e20428b749eb2156bf5abc301e1c20
1 /*
2 * include/linux/timerfd.h
4 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
6 */
8 #ifndef _LINUX_TIMERFD_H
9 #define _LINUX_TIMERFD_H
11 /* For O_CLOEXEC and O_NONBLOCK */
12 #include <linux/fcntl.h>
14 /* Flags for timerfd_settime. */
15 #define TFD_TIMER_ABSTIME (1 << 0)
17 /* Flags for timerfd_create. */
18 #define TFD_CLOEXEC O_CLOEXEC
19 #define TFD_NONBLOCK O_NONBLOCK
22 #endif /* _LINUX_TIMERFD_H */