repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
23 lines
479 B
C
23 lines
479 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __VDSO_CLOCKSOURCE_H
|
|
#define __VDSO_CLOCKSOURCE_H
|
|
|
|
#include <vdso/limits.h>
|
|
|
|
#ifdef CONFIG_GENERIC_GETTIMEOFDAY
|
|
#include <asm/vdso/clocksource.h>
|
|
#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
|
|
|
|
enum vdso_clock_mode {
|
|
VDSO_CLOCKMODE_NONE,
|
|
#ifdef CONFIG_GENERIC_GETTIMEOFDAY
|
|
VDSO_ARCH_CLOCKMODES,
|
|
#endif
|
|
VDSO_CLOCKMODE_MAX,
|
|
|
|
/* Indicator for time namespace VDSO */
|
|
VDSO_CLOCKMODE_TIMENS = INT_MAX
|
|
};
|
|
|
|
#endif /* __VDSO_CLOCKSOURCE_H */
|