arch/sparc/include/asm/clocksource.h
raw| 1 | /* |
| 2 | * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. |
| 3 | */ |
| 4 | |
| 5 | #ifndef _ASM_SPARC_CLOCKSOURCE_H |
| 6 | #define _ASM_SPARC_CLOCKSOURCE_H |
| 7 | |
| 8 | /* VDSO clocksources */ |
| 9 | #define VCLOCK_NONE 0 /* Nothing userspace can do. */ |
| 10 | #define VCLOCK_TICK 1 /* Use %tick. */ |
| 11 | #define VCLOCK_STICK 2 /* Use %stick. */ |
| 12 | |
| 13 | struct arch_clocksource_data { |
| 14 | int vclock_mode; |
| 15 | }; |
| 16 | |
| 17 | #endif /* _ASM_SPARC_CLOCKSOURCE_H */ |