^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #ifndef _ASM_SPARC_CLOCKSOURCE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #define _ASM_SPARC_CLOCKSOURCE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) /* VDSO clocksources */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define VCLOCK_NONE 0 /* Nothing userspace can do. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define VCLOCK_TICK 1 /* Use %tick. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define VCLOCK_STICK 2 /* Use %stick. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct arch_clocksource_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) int vclock_mode;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #endif /* _ASM_SPARC_CLOCKSOURCE_H */