log_err("fio: can't create TLS key\n");
#endif
- /*
- * Probably an AMD issue, will need to investigate. Until that
- * is done, disable the CPU clock.
- */
-#if FIO_OS == os_solaris
- tsc_reliable = 0;
-#endif
-
fio_clock_source_inited = fio_clock_source;
calibrate_cpu_clock();
unsigned int nr_cpus = cpus_online();
struct clock_entry *entries;
unsigned long tentries, failed;
+ struct clock_entry *prev, *this;
uint64_t seq = 0;
int i;
qsort(entries, tentries, sizeof(struct clock_entry), clock_cmp);
for (failed = i = 0; i < tentries; i++) {
- struct clock_entry *prev, *this = &entries[i];
+ this = &entries[i];
if (!i) {
prev = this;