| .. | .. |
|---|
| 2 | 2 | #ifndef __ASM_VDSOCLOCKSOURCE_H |
|---|
| 3 | 3 | #define __ASM_VDSOCLOCKSOURCE_H |
|---|
| 4 | 4 | |
|---|
| 5 | | -#include <linux/types.h> |
|---|
| 6 | | - |
|---|
| 7 | | -/* VDSO clocksources. */ |
|---|
| 8 | | -#define VDSO_CLOCK_NONE 0 /* No suitable clocksource. */ |
|---|
| 9 | | -#define VDSO_CLOCK_R4K 1 /* Use the coprocessor 0 count. */ |
|---|
| 10 | | -#define VDSO_CLOCK_GIC 2 /* Use the GIC. */ |
|---|
| 11 | | - |
|---|
| 12 | | -/** |
|---|
| 13 | | - * struct arch_clocksource_data - Architecture-specific clocksource information. |
|---|
| 14 | | - * @vdso_clock_mode: Method the VDSO should use to access the clocksource. |
|---|
| 15 | | - */ |
|---|
| 16 | | -struct arch_clocksource_data { |
|---|
| 17 | | - u8 vdso_clock_mode; |
|---|
| 18 | | -}; |
|---|
| 5 | +#define VDSO_ARCH_CLOCKMODES \ |
|---|
| 6 | + VDSO_CLOCKMODE_R4K, \ |
|---|
| 7 | + VDSO_CLOCKMODE_GIC |
|---|
| 19 | 8 | |
|---|
| 20 | 9 | #endif /* __ASM_VDSOCLOCKSOURCE_H */ |
|---|