diff options
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index e61b05dc5c..d7cb6849b4 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1796,7 +1796,7 @@ void helper_rdtsc(void) { uint64_t val; #if defined(__i386__) || defined(__x86_64__) - asm("rdtsc" : "=A" (val)); + asm volatile ("rdtsc" : "=A" (val)); #else /* better than nothing: the time increases */ val = emu_time++; |