2 * Copyright (C) 2015 Imagination Technologies
3 * Author: Alex Smith <alex.smith@imgtec.com>
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
11 #ifndef __ASM_CLOCKSOURCE_H
12 #define __ASM_CLOCKSOURCE_H
14 #include <linux/types.h>
16 /* VDSO clocksources. */
17 #define VDSO_CLOCK_NONE 0 /* No suitable clocksource. */
18 #define VDSO_CLOCK_R4K 1 /* Use the coprocessor 0 count. */
19 #define VDSO_CLOCK_GIC 2 /* Use the GIC. */
22 * struct arch_clocksource_data - Architecture-specific clocksource information.
23 * @vdso_clock_mode: Method the VDSO should use to access the clocksource.
25 struct arch_clocksource_data
{
29 #endif /* __ASM_CLOCKSOURCE_H */