Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef _linux_POSIX_TIMERS_H |
| 3 | #define _linux_POSIX_TIMERS_H |
| 4 | |
| 5 | #include <linux/spinlock.h> |
| 6 | #include <linux/list.h> |
Thomas Gleixner | bccf9fe | 2023-04-17 15:37:55 +0200 | [diff] [blame] | 7 | #include <linux/mutex.h> |
John Stultz | 9a7adcf5 | 2011-01-11 09:54:33 -0800 | [diff] [blame] | 8 | #include <linux/alarmtimer.h> |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 9 | #include <linux/timerqueue.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Thomas Gleixner | ce03f61 | 2019-08-19 16:31:42 +0200 | [diff] [blame] | 11 | struct kernel_siginfo; |
| 12 | struct task_struct; |
Frederic Weisbecker | 55ccb61 | 2013-06-28 00:06:42 +0000 | [diff] [blame] | 13 | |
Richard Cochran | 81e294c | 2011-02-01 13:52:32 +0000 | [diff] [blame] | 14 | /* |
| 15 | * Bit fields within a clockid: |
| 16 | * |
| 17 | * The most significant 29 bits hold either a pid or a file descriptor. |
| 18 | * |
| 19 | * Bit 2 indicates whether a cpu clock refers to a thread or a process. |
| 20 | * |
| 21 | * Bits 1 and 0 give the type: PROF=0, VIRT=1, SCHED=2, or FD=3. |
| 22 | * |
| 23 | * A clockid is invalid if bits 2, 1, and 0 are all set. |
| 24 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | #define CPUCLOCK_PID(clock) ((pid_t) ~((clock) >> 3)) |
| 26 | #define CPUCLOCK_PERTHREAD(clock) \ |
| 27 | (((clock) & (clockid_t) CPUCLOCK_PERTHREAD_MASK) != 0) |
Richard Cochran | 0606f42 | 2011-02-01 13:52:35 +0000 | [diff] [blame] | 28 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | #define CPUCLOCK_PERTHREAD_MASK 4 |
| 30 | #define CPUCLOCK_WHICH(clock) ((clock) & (clockid_t) CPUCLOCK_CLOCK_MASK) |
| 31 | #define CPUCLOCK_CLOCK_MASK 3 |
| 32 | #define CPUCLOCK_PROF 0 |
| 33 | #define CPUCLOCK_VIRT 1 |
| 34 | #define CPUCLOCK_SCHED 2 |
| 35 | #define CPUCLOCK_MAX 3 |
Richard Cochran | 81e294c | 2011-02-01 13:52:32 +0000 | [diff] [blame] | 36 | #define CLOCKFD CPUCLOCK_MAX |
| 37 | #define CLOCKFD_MASK (CPUCLOCK_PERTHREAD_MASK|CPUCLOCK_CLOCK_MASK) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | |
Nick Desaulniers | 29f1b2b | 2017-12-28 22:11:36 -0500 | [diff] [blame] | 39 | static inline clockid_t make_process_cpuclock(const unsigned int pid, |
| 40 | const clockid_t clock) |
| 41 | { |
| 42 | return ((~pid) << 3) | clock; |
| 43 | } |
| 44 | static inline clockid_t make_thread_cpuclock(const unsigned int tid, |
| 45 | const clockid_t clock) |
| 46 | { |
| 47 | return make_process_cpuclock(tid, clock | CPUCLOCK_PERTHREAD_MASK); |
| 48 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | |
Nick Desaulniers | 29f1b2b | 2017-12-28 22:11:36 -0500 | [diff] [blame] | 50 | static inline clockid_t fd_to_clockid(const int fd) |
| 51 | { |
| 52 | return make_process_cpuclock((unsigned int) fd, CLOCKFD); |
| 53 | } |
| 54 | |
| 55 | static inline int clockid_to_fd(const clockid_t clk) |
| 56 | { |
| 57 | return ~(clk >> 3); |
| 58 | } |
Richard Cochran | 0606f42 | 2011-02-01 13:52:35 +0000 | [diff] [blame] | 59 | |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 60 | #ifdef CONFIG_POSIX_TIMERS |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 61 | |
| 62 | /** |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 63 | * cpu_timer - Posix CPU timer representation for k_itimer |
| 64 | * @node: timerqueue node to queue in the task/sig |
| 65 | * @head: timerqueue head on which this timer is queued |
Thomas Gleixner | bccf9fe | 2023-04-17 15:37:55 +0200 | [diff] [blame] | 66 | * @pid: Pointer to target task PID |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 67 | * @elist: List head for the expiry list |
| 68 | * @firing: Timer is currently firing |
Thomas Gleixner | bccf9fe | 2023-04-17 15:37:55 +0200 | [diff] [blame] | 69 | * @handling: Pointer to the task which handles expiry |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 70 | */ |
| 71 | struct cpu_timer { |
Thomas Gleixner | bccf9fe | 2023-04-17 15:37:55 +0200 | [diff] [blame] | 72 | struct timerqueue_node node; |
| 73 | struct timerqueue_head *head; |
| 74 | struct pid *pid; |
| 75 | struct list_head elist; |
| 76 | int firing; |
| 77 | struct task_struct __rcu *handling; |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 78 | }; |
| 79 | |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 80 | static inline bool cpu_timer_enqueue(struct timerqueue_head *head, |
| 81 | struct cpu_timer *ctmr) |
| 82 | { |
| 83 | ctmr->head = head; |
| 84 | return timerqueue_add(head, &ctmr->node); |
| 85 | } |
| 86 | |
Frederic Weisbecker | ee375328 | 2021-07-26 14:55:13 +0200 | [diff] [blame] | 87 | static inline bool cpu_timer_queued(struct cpu_timer *ctmr) |
| 88 | { |
| 89 | return !!ctmr->head; |
| 90 | } |
| 91 | |
Frederic Weisbecker | 175cc3a | 2021-07-26 14:55:09 +0200 | [diff] [blame] | 92 | static inline bool cpu_timer_dequeue(struct cpu_timer *ctmr) |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 93 | { |
Frederic Weisbecker | ee375328 | 2021-07-26 14:55:13 +0200 | [diff] [blame] | 94 | if (cpu_timer_queued(ctmr)) { |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 95 | timerqueue_del(ctmr->head, &ctmr->node); |
Thomas Gleixner | 00d9e47 | 2019-09-05 14:03:40 +0200 | [diff] [blame] | 96 | ctmr->head = NULL; |
Frederic Weisbecker | 175cc3a | 2021-07-26 14:55:09 +0200 | [diff] [blame] | 97 | return true; |
Thomas Gleixner | 00d9e47 | 2019-09-05 14:03:40 +0200 | [diff] [blame] | 98 | } |
Frederic Weisbecker | 175cc3a | 2021-07-26 14:55:09 +0200 | [diff] [blame] | 99 | return false; |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 100 | } |
| 101 | |
| 102 | static inline u64 cpu_timer_getexpires(struct cpu_timer *ctmr) |
| 103 | { |
| 104 | return ctmr->node.expires; |
| 105 | } |
| 106 | |
| 107 | static inline void cpu_timer_setexpires(struct cpu_timer *ctmr, u64 exp) |
| 108 | { |
| 109 | ctmr->node.expires = exp; |
| 110 | } |
| 111 | |
| 112 | /** |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 113 | * posix_cputimer_base - Container per posix CPU clock |
| 114 | * @nextevt: Earliest-expiration cache |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 115 | * @tqhead: timerqueue head for cpu_timers |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 116 | */ |
| 117 | struct posix_cputimer_base { |
| 118 | u64 nextevt; |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 119 | struct timerqueue_head tqhead; |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 120 | }; |
| 121 | |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 122 | /** |
| 123 | * posix_cputimers - Container for posix CPU timer related data |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 124 | * @bases: Base container for posix CPU clocks |
Thomas Gleixner | 244d49e | 2019-08-21 21:09:24 +0200 | [diff] [blame] | 125 | * @timers_active: Timers are queued. |
| 126 | * @expiry_active: Timer expiry is active. Used for |
| 127 | * process wide timers to avoid multiple |
| 128 | * task trying to handle expiry concurrently |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 129 | * |
| 130 | * Used in task_struct and signal_struct |
| 131 | */ |
| 132 | struct posix_cputimers { |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 133 | struct posix_cputimer_base bases[CPUCLOCK_MAX]; |
Thomas Gleixner | 244d49e | 2019-08-21 21:09:24 +0200 | [diff] [blame] | 134 | unsigned int timers_active; |
| 135 | unsigned int expiry_active; |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 136 | }; |
| 137 | |
Thomas Gleixner | 1fb497d | 2020-07-30 12:14:06 +0200 | [diff] [blame] | 138 | /** |
| 139 | * posix_cputimers_work - Container for task work based posix CPU timer expiry |
| 140 | * @work: The task work to be scheduled |
Thomas Gleixner | bccf9fe | 2023-04-17 15:37:55 +0200 | [diff] [blame] | 141 | * @mutex: Mutex held around expiry in context of this task work |
Thomas Gleixner | 1fb497d | 2020-07-30 12:14:06 +0200 | [diff] [blame] | 142 | * @scheduled: @work has been scheduled already, no further processing |
| 143 | */ |
| 144 | struct posix_cputimers_work { |
| 145 | struct callback_head work; |
Thomas Gleixner | bccf9fe | 2023-04-17 15:37:55 +0200 | [diff] [blame] | 146 | struct mutex mutex; |
Thomas Gleixner | 1fb497d | 2020-07-30 12:14:06 +0200 | [diff] [blame] | 147 | unsigned int scheduled; |
| 148 | }; |
| 149 | |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 150 | static inline void posix_cputimers_init(struct posix_cputimers *pct) |
| 151 | { |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 152 | memset(pct, 0, sizeof(*pct)); |
Thomas Gleixner | 2bbdbda | 2019-08-21 21:09:19 +0200 | [diff] [blame] | 153 | pct->bases[0].nextevt = U64_MAX; |
| 154 | pct->bases[1].nextevt = U64_MAX; |
| 155 | pct->bases[2].nextevt = U64_MAX; |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 156 | } |
| 157 | |
Thomas Gleixner | 3a245c0 | 2019-08-21 21:09:06 +0200 | [diff] [blame] | 158 | void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit); |
| 159 | |
| 160 | static inline void posix_cputimers_rt_watchdog(struct posix_cputimers *pct, |
| 161 | u64 runtime) |
| 162 | { |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 163 | pct->bases[CPUCLOCK_SCHED].nextevt = runtime; |
Thomas Gleixner | 3a245c0 | 2019-08-21 21:09:06 +0200 | [diff] [blame] | 164 | } |
| 165 | |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 166 | /* Init task static initializer */ |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 167 | #define INIT_CPU_TIMERBASE(b) { \ |
Thomas Gleixner | 2bbdbda | 2019-08-21 21:09:19 +0200 | [diff] [blame] | 168 | .nextevt = U64_MAX, \ |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 169 | } |
| 170 | |
| 171 | #define INIT_CPU_TIMERBASES(b) { \ |
| 172 | INIT_CPU_TIMERBASE(b[0]), \ |
| 173 | INIT_CPU_TIMERBASE(b[1]), \ |
| 174 | INIT_CPU_TIMERBASE(b[2]), \ |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 175 | } |
| 176 | |
| 177 | #define INIT_CPU_TIMERS(s) \ |
| 178 | .posix_cputimers = { \ |
Thomas Gleixner | 87dc644 | 2019-08-26 20:22:24 +0200 | [diff] [blame] | 179 | .bases = INIT_CPU_TIMERBASES(s.posix_cputimers.bases), \ |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 180 | }, |
| 181 | #else |
| 182 | struct posix_cputimers { }; |
Thomas Gleixner | 8f2edb4a | 2019-08-29 08:19:40 +0200 | [diff] [blame] | 183 | struct cpu_timer { }; |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 184 | #define INIT_CPU_TIMERS(s) |
Thomas Gleixner | 3a245c0 | 2019-08-21 21:09:06 +0200 | [diff] [blame] | 185 | static inline void posix_cputimers_init(struct posix_cputimers *pct) { } |
| 186 | static inline void posix_cputimers_group_init(struct posix_cputimers *pct, |
| 187 | u64 cpu_limit) { } |
Thomas Gleixner | 2b69942 | 2019-08-21 21:09:04 +0200 | [diff] [blame] | 188 | #endif |
| 189 | |
Thomas Gleixner | 1fb497d | 2020-07-30 12:14:06 +0200 | [diff] [blame] | 190 | #ifdef CONFIG_POSIX_CPU_TIMERS_TASK_WORK |
Michael Pratt | ca7752c | 2021-11-01 17:06:15 -0400 | [diff] [blame] | 191 | void clear_posix_cputimers_work(struct task_struct *p); |
Thomas Gleixner | 1fb497d | 2020-07-30 12:14:06 +0200 | [diff] [blame] | 192 | void posix_cputimers_init_work(void); |
| 193 | #else |
Michael Pratt | ca7752c | 2021-11-01 17:06:15 -0400 | [diff] [blame] | 194 | static inline void clear_posix_cputimers_work(struct task_struct *p) { } |
Thomas Gleixner | 1fb497d | 2020-07-30 12:14:06 +0200 | [diff] [blame] | 195 | static inline void posix_cputimers_init_work(void) { } |
| 196 | #endif |
| 197 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 198 | #define REQUEUE_PENDING 1 |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 199 | |
| 200 | /** |
| 201 | * struct k_itimer - POSIX.1b interval timer structure. |
| 202 | * @list: List head for binding the timer to signals->posix_timers |
| 203 | * @t_hash: Entry in the posix timer hash table |
| 204 | * @it_lock: Lock protecting the timer |
Thomas Gleixner | d97bb75 | 2017-05-30 23:15:44 +0200 | [diff] [blame] | 205 | * @kclock: Pointer to the k_clock struct handling this timer |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 206 | * @it_clock: The posix timer clock id |
| 207 | * @it_id: The posix timer id for identifying the timer |
Thomas Gleixner | 21e55c1 | 2017-05-30 23:15:48 +0200 | [diff] [blame] | 208 | * @it_active: Marker that timer is active |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 209 | * @it_overrun: The overrun counter for pending signals |
| 210 | * @it_overrun_last: The overrun at the time of the last delivered signal |
| 211 | * @it_requeue_pending: Indicator that timer waits for being requeued on |
| 212 | * signal delivery |
| 213 | * @it_sigev_notify: The notify word of sigevent struct for signal delivery |
Thomas Gleixner | 80105cd | 2017-05-30 23:15:43 +0200 | [diff] [blame] | 214 | * @it_interval: The interval for periodic timers |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 215 | * @it_signal: Pointer to the creators signal struct |
| 216 | * @it_pid: The pid of the process/task targeted by the signal |
| 217 | * @it_process: The task to wakeup on clock_nanosleep (CPU timers) |
| 218 | * @sigq: Pointer to preallocated sigqueue |
| 219 | * @it: Union representing the various posix timer type |
Sebastian Andrzej Siewior | 5d99b32 | 2019-07-31 00:33:54 +0200 | [diff] [blame] | 220 | * internals. |
| 221 | * @rcu: RCU head for freeing the timer. |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 222 | */ |
| 223 | struct k_itimer { |
| 224 | struct list_head list; |
| 225 | struct hlist_node t_hash; |
| 226 | spinlock_t it_lock; |
Thomas Gleixner | d97bb75 | 2017-05-30 23:15:44 +0200 | [diff] [blame] | 227 | const struct k_clock *kclock; |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 228 | clockid_t it_clock; |
| 229 | timer_t it_id; |
Thomas Gleixner | 21e55c1 | 2017-05-30 23:15:48 +0200 | [diff] [blame] | 230 | int it_active; |
Thomas Gleixner | 78c9c4d | 2018-06-26 15:21:32 +0200 | [diff] [blame] | 231 | s64 it_overrun; |
| 232 | s64 it_overrun_last; |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 233 | int it_requeue_pending; |
| 234 | int it_sigev_notify; |
Thomas Gleixner | 80105cd | 2017-05-30 23:15:43 +0200 | [diff] [blame] | 235 | ktime_t it_interval; |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 236 | struct signal_struct *it_signal; |
Oleg Nesterov | 27af424 | 2008-12-01 14:18:13 -0800 | [diff] [blame] | 237 | union { |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 238 | struct pid *it_pid; |
| 239 | struct task_struct *it_process; |
Oleg Nesterov | 27af424 | 2008-12-01 14:18:13 -0800 | [diff] [blame] | 240 | }; |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 241 | struct sigqueue *sigq; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 242 | union { |
| 243 | struct { |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 244 | struct hrtimer timer; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 245 | } real; |
Thomas Gleixner | 60bda03 | 2019-08-27 21:31:02 +0200 | [diff] [blame] | 246 | struct cpu_timer cpu; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 247 | struct { |
Thomas Gleixner | 03676b41a | 2017-05-30 23:15:40 +0200 | [diff] [blame] | 248 | struct alarm alarmtimer; |
John Stultz | 9e26476 | 2011-08-10 12:09:24 -0700 | [diff] [blame] | 249 | } alarm; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 250 | } it; |
Sebastian Andrzej Siewior | 5d99b32 | 2019-07-31 00:33:54 +0200 | [diff] [blame] | 251 | struct rcu_head rcu; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 252 | }; |
| 253 | |
Thomas Gleixner | dce3e8fd | 2019-08-19 16:31:47 +0200 | [diff] [blame] | 254 | void run_posix_cpu_timers(void); |
Thomas Gleixner | 2a69897 | 2006-01-09 20:52:28 -0800 | [diff] [blame] | 255 | void posix_cpu_timers_exit(struct task_struct *task); |
| 256 | void posix_cpu_timers_exit_group(struct task_struct *task); |
Thomas Gleixner | 2a69897 | 2006-01-09 20:52:28 -0800 | [diff] [blame] | 257 | void set_process_cpu_timer(struct task_struct *task, unsigned int clock_idx, |
Frederic Weisbecker | 858cf3a | 2017-01-31 04:09:35 +0100 | [diff] [blame] | 258 | u64 *newval, u64 *oldval); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 259 | |
Barret Rhoden | 18c91bb | 2022-01-06 12:20:41 -0500 | [diff] [blame] | 260 | int update_rlimit_cpu(struct task_struct *task, unsigned long rlim_new); |
Frank Mayhar | f06febc | 2008-09-12 09:54:39 -0700 | [diff] [blame] | 261 | |
Eric W. Biederman | ae7795b | 2018-09-25 11:27:20 +0200 | [diff] [blame] | 262 | void posixtimer_rearm(struct kernel_siginfo *info); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 263 | #endif |