commit | e463b581ead04c1e5004e08c3bfb16e7fde88e20 | [log] [tgz] |
---|---|---|
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Fri Apr 02 20:57:58 2004 +0000 |
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Fri Apr 02 20:57:58 2004 +0000 |
tree | 749b87f4193b5cf142a1be7fe82963ab00ba84f4 | |
parent | 11d9f695e710b406a487daf3fb83f82dea314063 [diff] [blame] |
rdtsc fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@695 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/vl.c b/vl.c index ed5c380..2489550 100644 --- a/vl.c +++ b/vl.c
@@ -341,7 +341,7 @@ int64_t cpu_get_real_ticks(void) { int64_t val; - asm("rdtsc" : "=A" (val)); + asm volatile ("rdtsc" : "=A" (val)); return val; }