From 53be55b62edfca15884aaba31cf94eb8abd26828 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 18 Aug 2000 22:15:58 +0000 Subject: [PATCH] Removed bad asm call for rdts. Need to fix this... Original commit message from CVS: Removed bad asm call for rdts. Need to fix this... --- gst/gsttrace.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst/gsttrace.c b/gst/gsttrace.c index cbb5dcb033..0f53cb857d 100644 --- a/gst/gsttrace.c +++ b/gst/gsttrace.c @@ -27,6 +27,7 @@ #include #include +#ifdef HAVE_RDTS __inline__ void read_tsc(guint64 *dst) { __asm__ __volatile__ ("rdtsc" @@ -34,6 +35,10 @@ __inline__ void read_tsc(guint64 *dst) { : : "eax", "edx"); } +#else +__inline__ void read_tsc(guint64 *dst) { +} +#endif void gst_trace_read_tsc(guint64 *dst) { read_tsc(dst);