mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
Move the constant resolution to a shared header, so the vDSO can use it and return it without going through a syscall. Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
14 lines
253 B
C
14 lines
253 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _VDSO_AUXCLOCK_H
|
|
#define _VDSO_AUXCLOCK_H
|
|
|
|
#include <uapi/linux/time.h>
|
|
#include <uapi/linux/types.h>
|
|
|
|
static __always_inline u64 aux_clock_resolution_ns(void)
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
#endif /* _VDSO_AUXCLOCK_H */
|