diff options
Diffstat (limited to 'include/vdso/jiffies.h')
-rw-r--r-- | include/vdso/jiffies.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/vdso/jiffies.h b/include/vdso/jiffies.h new file mode 100644 index 0000000000..2f9d596c8b --- /dev/null +++ b/include/vdso/jiffies.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_JIFFIES_H +#define __VDSO_JIFFIES_H + +#include <asm/param.h> /* for HZ */ +#include <vdso/time64.h> + +/* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */ +#define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ) + +#endif /* __VDSO_JIFFIES_H */ |