| .. | .. |
|---|
| 49 | 49 | asm volatile("sckc %0" : : "Q" (time)); |
|---|
| 50 | 50 | } |
|---|
| 51 | 51 | |
|---|
| 52 | | -static inline void store_clock_comparator(__u64 *time) |
|---|
| 53 | | -{ |
|---|
| 54 | | - asm volatile("stckc %0" : "=Q" (*time)); |
|---|
| 55 | | -} |
|---|
| 56 | | - |
|---|
| 57 | 52 | void clock_comparator_work(void); |
|---|
| 58 | 53 | |
|---|
| 59 | 54 | void __init time_early_init(void); |
|---|
| .. | .. |
|---|
| 177 | 172 | { |
|---|
| 178 | 173 | return (cycles_t) get_tod_clock() >> 2; |
|---|
| 179 | 174 | } |
|---|
| 175 | +#define get_cycles get_cycles |
|---|
| 180 | 176 | |
|---|
| 181 | 177 | int get_phys_clock(unsigned long *clock); |
|---|
| 182 | 178 | void init_cpu_timer(void); |
|---|
| 183 | | -unsigned long long monotonic_clock(void); |
|---|
| 184 | 179 | |
|---|
| 185 | 180 | extern unsigned char tod_clock_base[16] __aligned(8); |
|---|
| 186 | 181 | |
|---|