qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Emil Condrea <emilcondrea@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] replaced get_ticks_per_sec() with constant
Date: Mon, 30 Mar 2015 14:01:15 +0100	[thread overview]
Message-ID: <20150330130115.GJ25181@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1427559731-20180-1-git-send-email-emilcondrea@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2870 bytes --]

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 <emilcondrea@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 <stefanha@redhat.com>

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

  parent reply	other threads:[~2015-03-30 13:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-28 16:22 [Qemu-devel] [PATCH] replaced get_ticks_per_sec() with constant Emil Condrea
2015-03-30 13:01 ` Stefan Hajnoczi
2015-03-30 21:52   ` Peter Maydell
2015-03-30 23:46     ` Peter Crosthwaite
2015-03-31 14:19       ` Stefan Hajnoczi
2015-03-30 13:01 ` Stefan Hajnoczi [this message]
2015-03-31 17:16   ` Emil Condrea
2015-07-05  6:15     ` Emil Condrea
2015-07-06 15:11       ` Stefan Hajnoczi
2015-07-08 13:29         ` Emil Condrea
2015-07-09  9:05           ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150330130115.GJ25181@stefanha-thinkpad.redhat.com \
    --to=stefanha@redhat.com \
    --cc=emilcondrea@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).