commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
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 */
|