On Sat, Mar 28, 2015 at 06:22:11PM +0200, Emil Condrea wrote: > This replaces all calls to get_ticks_per_sec() with > NSEC_PER_SEC defined in /include/qemu/timer.h > > Signed-off-by: Emil Condrea <emilcond...@gmail.com> > --- > audio/audio.c | 2 +- > audio/noaudio.c | 4 ++-- > audio/spiceaudio.c | 2 +- > audio/wavaudio.c | 2 +- > backends/baum.c | 2 +- > block/qed.c | 2 +- > cpus.c | 6 +++--- > hw/acpi/core.c | 4 ++-- > hw/arm/omap1.c | 14 +++++++------- > hw/arm/spitz.c | 2 +- > hw/arm/stellaris.c | 2 +- > hw/arm/strongarm.c | 2 +- > hw/audio/adlib.c | 2 +- > hw/audio/sb16.c | 4 ++-- > hw/block/fdc.c | 2 +- > hw/block/pflash_cfi02.c | 4 ++-- > hw/bt/hci-csr.c | 4 ++-- > hw/bt/hci.c | 4 ++-- > hw/char/cadence_uart.c | 4 ++-- > hw/char/serial.c | 6 +++--- > hw/display/vga.c | 6 +++--- > hw/dma/rc4030.c | 2 +- > hw/ide/core.c | 2 +- > hw/input/hid.c | 2 +- > hw/input/tsc2005.c | 2 +- > hw/input/tsc210x.c | 2 +- > hw/intc/i8259.c | 2 +- > hw/mips/cputimer.c | 10 +++++----- > hw/misc/arm_sysctl.c | 2 +- > hw/misc/macio/cuda.c | 14 +++++++------- > hw/misc/macio/macio.c | 2 +- > hw/net/dp8393x.c | 2 +- > hw/net/pcnet.c | 2 +- > hw/net/rtl8139.c | 8 ++++---- > hw/openrisc/cputimer.c | 4 ++-- > hw/ppc/ppc.c | 18 +++++++++--------- > hw/ppc/ppc405_uc.c | 4 ++-- > hw/ppc/ppc_booke.c | 2 +- > hw/sd/sdhci.h | 2 +- > hw/sparc64/sun4u.c | 4 ++-- > hw/timer/i8254.c | 4 ++-- > hw/timer/i8254_common.c | 6 +++--- > hw/timer/mc146818rtc.c | 6 +++--- > hw/timer/omap_gptimer.c | 2 +- > hw/timer/omap_synctimer.c | 2 +- > hw/timer/pl031.c | 10 +++++----- > hw/timer/pxa2xx_timer.c | 14 +++++++------- > hw/timer/tusb6010.c | 4 ++-- > hw/usb/hcd-ehci.c | 4 ++-- > hw/usb/hcd-musb.c | 2 +- > hw/usb/hcd-ohci.c | 10 +++++----- > hw/usb/hcd-uhci.c | 6 +++--- > hw/watchdog/wdt_i6300esb.c | 2 +- > hw/watchdog/wdt_ib700.c | 2 +- > include/hw/acpi/acpi.h | 2 +- > include/qemu/timer.h | 7 ++----- > monitor.c | 4 ++-- > net/dump.c | 2 +- > target-arm/helper.c | 6 +++--- > target-ppc/kvm.c | 4 ++-- > target-ppc/kvm_ppc.c | 2 +- > 61 files changed, 132 insertions(+), 135 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
pgp08taFnOP41.pgp
Description: PGP signature