jiffies.h 298 B

1234567891011
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __VDSO_JIFFIES_H
  3. #define __VDSO_JIFFIES_H
  4. #include <asm/param.h> /* for HZ */
  5. #include <vdso/time64.h>
  6. /* TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ */
  7. #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ)
  8. #endif /* __VDSO_JIFFIES_H */