hc
2023-11-23 7d07b3ae8ddad407913c5301877e694430a3263f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __ASM_VDSOCLOCKSOURCE_H
#define __ASM_VDSOCLOCKSOURCE_H
 
#include <linux/types.h>
 
/* VDSO clocksources. */
#define VDSO_CLOCK_NONE        0    /* No suitable clocksource. */
#define VDSO_CLOCK_R4K        1    /* Use the coprocessor 0 count. */
#define VDSO_CLOCK_GIC        2    /* Use the GIC. */
 
/**
 * struct arch_clocksource_data - Architecture-specific clocksource information.
 * @vdso_clock_mode: Method the VDSO should use to access the clocksource.
 */
struct arch_clocksource_data {
   u8 vdso_clock_mode;
};
 
#endif /* __ASM_VDSOCLOCKSOURCE_H */