#include <linux/hrtimer.h>
#include <linux/percpu.h>
#include <linux/version.h>
+#include <linux/percpu-defs.h>
#include <asm/local.h>
#include <lttng-kernel-version.h>
#include <lttng-clock.h>
#include <wrapper/compiler.h>
-#include <wrapper/percpu-defs.h>
#include <wrapper/random.h>
#include <blacklist/timekeeping.h>
/* Use fast nmi-safe monotonic clock provided by the Linux kernel. */
preempt_disable();
- last_tsc_ptr = lttng_this_cpu_ptr(<tng_last_tsc);
+ last_tsc_ptr = this_cpu_ptr(<tng_last_tsc);
last = *last_tsc_ptr;
/*
* Read "last" before "now". It is not strictly required, but it ensures