1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2015 Imagination Technologies
4 * Author: Alex Smith <alex.smith@imgtec.com>
7 #ifndef __ASM_CLOCKSOURCE_H
8 #define __ASM_CLOCKSOURCE_H
10 #include <linux/types.h>
12 /* VDSO clocksources. */
13 #define VDSO_CLOCK_NONE 0 /* No suitable clocksource. */
14 #define VDSO_CLOCK_R4K 1 /* Use the coprocessor 0 count. */
15 #define VDSO_CLOCK_GIC 2 /* Use the GIC. */
18 * struct arch_clocksource_data - Architecture-specific clocksource information.
19 * @vdso_clock_mode: Method the VDSO should use to access the clocksource.
21 struct arch_clocksource_data
{
25 #endif /* __ASM_CLOCKSOURCE_H */