Received: from eggs.gnu.org ([2001:4830:134:3::10]:38235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcZJl-00041L-7E for qemu-devel@nongnu.org; Mon, 30 Mar 2015 09:01:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcZJf-0001Z7-Hb for qemu-devel@nongnu.org; Mon, 30 Mar 2015 09:01:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcZJf-0001Yz-AF for qemu-devel@nongnu.org; Mon, 30 Mar 2015 09:01:19 -0400 Date: Mon, 30 Mar 2015 14:01:15 +0100 From: Stefan Hajnoczi Message-ID: <20150330130115.GJ25181@stefanha-thinkpad.redhat.com> References: <1427559731-20180-1-git-send-email-emilcondrea@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4vpci17Ql0Nrbul2" Content-Disposition: inline In-Reply-To: <1427559731-20180-1-git-send-email-emilcondrea@gmail.com> Subject: Re: [Qemu-devel] [PATCH] replaced get_ticks_per_sec() with constant List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Emil Condrea Cc: qemu-devel@nongnu.org --4vpci17Ql0Nrbul2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 28, 2015 at 06:22:11PM +0200, Emil Condrea wrote: > This replaces all calls to get_ticks_per_sec() with=20 > NSEC_PER_SEC defined in /include/qemu/timer.h >=20 > Signed-off-by: Emil Condrea > --- > 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 --4vpci17Ql0Nrbul2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVGUkbAAoJEJykq7OBq3PICy4H/230G6DFAV1G2V1J4bBUYrgo fttGP24ISPtLPXTs4dKe/WEZ1eMSr05rgusuY9t4CtzgQ1Gn9jqI1opoJKNGypk1 3+XcXJbwOI0nK2EHdoJCA/aGuoXuDDgmIyViyQ4Ruqoo8ZoVJ3ksuJX/CfqpvNqU 9uMpF5k7SgSYd6CH2FksuCUDDSLkPjigAsCPAe2rggfKL2sUAt/t1RLIdY68Kuhn TSeqFxaAScQO4JASlXme3GqATiP7yr0d0JpN4cP9sCbTBEYvH4B4WSgq0/pvQauH jaNYEEvGXlC9yND4SVZCYmqpJKuxqP6GH+HGWLPZIZLpXYfYDesgWsjK1NNck6c= =Z2R/ -----END PGP SIGNATURE----- --4vpci17Ql0Nrbul2--