XenevaOS
Loading...
Searching...
No Matches
jiffies.h
Go to the documentation of this file.
1#ifndef __LINUX_JIFFIES_H__
2#define __LINUX_JIFFIES_H__
3
4/*
5 * DCL <linux/jiffies.h> -- mainline puts jiffies and the time_after family
6 * here; DCL keeps them in <linux/timer.h>, so this header exists to make the
7 * include resolve and re-exports them.
8 *
9 * Worth knowing when reading timer.h: jiffies there is derived from the ARM
10 * generic timer rather than counted by a tick, because Xeneva runs no timer
11 * IRQ to count it. An `extern jiffies` backed by a variable nothing
12 * increments would link fine and then make every `time_after(jiffies,
13 * deadline)` false forever -- which reads as a driver that hangs instead of a
14 * driver that timed out.
15 */
16
17#include <linux/timer.h>
18
19#endif /* __LINUX_JIFFIES_H__ */