summaryrefslogtreecommitdiff
path: root/i386/i386/xen.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/xen.h')
-rw-r--r--i386/i386/xen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/xen.h b/i386/i386/xen.h
index c6811873..49b0d52f 100644
--- a/i386/i386/xen.h
+++ b/i386/i386/xen.h
@@ -356,8 +356,8 @@ _hypcall2(int, set_debugreg, int, reg, unsigned long, value);
_hypcall1(unsigned long, get_debugreg, int, reg);
/* x86-specific */
-MACH_INLINE unsigned64_t hyp_cpu_clock(void) {
- unsigned64_t tsc;
+MACH_INLINE uint64_t hyp_cpu_clock(void) {
+ uint64_t tsc;
asm volatile("rdtsc":"=A"(tsc));
return tsc;
}