From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8PkH-0003Ag-Le for qemu-devel@nongnu.org; Fri, 05 Oct 2018 09:02:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8Pk1-0008KV-0N for qemu-devel@nongnu.org; Fri, 05 Oct 2018 09:02:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63564) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g8Pk0-0008Jf-Mo for qemu-devel@nongnu.org; Fri, 05 Oct 2018 09:02:00 -0400 From: Thomas Huth Date: Fri, 5 Oct 2018 15:01:46 +0200 Message-Id: <1538744508-17108-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] Use target_words_bigendian() for generic-loader List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Alistair Francis Cc: Paolo Bonzini , Peter Crosthwaite , Richard Henderson , "Michael S. Tsirkin" , Peter Maydell , Laszlo Ersek Provide a proper prototype for target_words_bigendian(), and use this function in the generic-loader to be able to move it to common-obj. v2: - Split up the single patch into two - Add a proper comment in front of the prototype in the header Thomas Huth (2): cpu: Provide a proper prototype for target_words_bigendian() in a header hw/core/generic-loader: Compile only once, not for each target exec.c | 5 ----- hw/core/Makefile.objs | 2 +- hw/core/generic-loader.c | 6 +----- hw/virtio/virtio.c | 1 - include/qom/cpu.h | 11 +++++++++++ qom/cpu.c | 1 - 6 files changed, 13 insertions(+), 13 deletions(-) -- 1.8.3.1