repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
12 lines
298 B
C
12 lines
298 B
C
/* 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 */
|