diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-01-21 15:58:24 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-01-21 18:07:31 +0000 |
commit | e458c6ad06318d5f6f41cec13f1b48488cf371a5 (patch) | |
tree | 8c75a8c7b1a91c17d87b9501c824b9658d2edb27 /hw/s390-virtio.c | |
parent | d8fa754c70674815c5f089d43cdaa25a2dbba1f6 (diff) |
qemu-timer: Don't use RDTSC on 386s and 486sx86-rdtsc
Adjust the conditional which guards the implementation of
cpu_get_real_ticks() via RDTSC, so that we don't try to use it
on x86 CPUs which don't implement RDTSC. Instead we will fall
back to the no-cycle-counter-available default implementation.
Reported-by: Yurij Popov <oss@djphoenix.ru>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/s390-virtio.c')
0 files changed, 0 insertions, 0 deletions