xref: /kernel/linux/linux-6.6/include/vdso/clocksource.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/vdso/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __VDSO_CLOCKSOURCE_H
362306a36Sopenharmony_ci#define __VDSO_CLOCKSOURCE_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <vdso/limits.h>
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifdef CONFIG_GENERIC_GETTIMEOFDAY
862306a36Sopenharmony_ci#include <asm/vdso/clocksource.h>
962306a36Sopenharmony_ci#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_cienum vdso_clock_mode {
1262306a36Sopenharmony_ci	VDSO_CLOCKMODE_NONE,
1362306a36Sopenharmony_ci#ifdef CONFIG_GENERIC_GETTIMEOFDAY
1462306a36Sopenharmony_ci	VDSO_ARCH_CLOCKMODES,
1562306a36Sopenharmony_ci#endif
1662306a36Sopenharmony_ci	VDSO_CLOCKMODE_MAX,
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	/* Indicator for time namespace VDSO */
1962306a36Sopenharmony_ci	VDSO_CLOCKMODE_TIMENS = INT_MAX
2062306a36Sopenharmony_ci};
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#endif /* __VDSO_CLOCKSOURCE_H */
23

Indexes created Thu Nov 07 10:32:03 CST 2024