From patchwork Fri Sep 22 14:02:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= X-Patchwork-Id: 9966239 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6658560381 for ; Fri, 22 Sep 2017 14:08:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67D1A2983C for ; Fri, 22 Sep 2017 14:08:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C7EA298E7; Fri, 22 Sep 2017 14:08:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EF6182983C for ; Fri, 22 Sep 2017 14:08:50 +0000 (UTC) Received: from localhost ([::1]:59099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvOdO-0001fb-18 for patchwork-qemu-devel@patchwork.kernel.org; Fri, 22 Sep 2017 10:08:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvOXz-0006wH-IH for qemu-devel@nongnu.org; Fri, 22 Sep 2017 10:03:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvOXt-0001PH-Nc for qemu-devel@nongnu.org; Fri, 22 Sep 2017 10:03:15 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:36994) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dvOXt-0001Oi-Ig for qemu-devel@nongnu.org; Fri, 22 Sep 2017 10:03:09 -0400 Received: by mail-pf0-x243.google.com with SMTP id e69so499384pfg.4 for ; Fri, 22 Sep 2017 07:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GUsWnpLgE34ENDTqipyUlZE4urQAH3WBMJDBfWADGF0=; b=iyo9BJNTaxgGEaXf9EsMaxFPdGoHacMRCn5OoJYHYymavhO6PU9InMy8WaXZ9kLffD qU3u4Z3iAAv1TI7c3yoko/VBmc6bC6ZQSZM2F4WH+OYYu5+q63eKRpC4TlcK7Vy7yJhC IOyIdsVa5yPl/pFS6lbr5WbV/fiEB/laqc7QocpKM/dOztqFZjxlBX9coyYRqLJP8XAE TBSKHfrioIcZI8tLPYhWe7wBQ+8IYPIymCLRHs5bNsbzyKlygO9IB0OMOxLazn7ix87m wgQTwI3g9gyoBQLWNRmvMGtBk9Mhy+Ti12IxZStUmUaOAJ9+62AszCdI4hLZN9BXWGBK suwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GUsWnpLgE34ENDTqipyUlZE4urQAH3WBMJDBfWADGF0=; b=gSSFwHXzmC1CqrqmOiyTyJexKOCbT9ygf7kqJPn7scSpDh+w/6wxwPS+Eu41FrbrDu JoTmHUra0peDis/OqhRXbDVEn6L3QRcaqO2zE2EiIRvee9YHZKC8ufuX0E8S6guZ8A+z 1x2Wsd8i2MmOMq54aHtPJ7EvOr3qtlnKvxZpvShSV/OdeWCmrUbJJvL6cvDkhlikqkas GBG5D8IyZZQhI72vNAF0Wo/ZCv+gsn4n2TXx7XbriIjxqbrKj7DbfjsgVZuMfpE1GCff 8u2BcKKMpQ1emh8DJsuhDZVYOSb24lETIBLbY6ZMeYo4jieMTQLFFauKQQ6L4K9Hb4ZU 2I/g== X-Gm-Message-State: AHPjjUjyj04fSCvn0zOVHzDXz/DlOmDZk6DucqCpyZX/ORKN8Q4+FLor F7WooGiwmomt/nvtL7CLznsuPtZe X-Google-Smtp-Source: AOwi7QAQiDyqhfCnC8X63E+IizpGH+qBPt31vbKAlUnSakilxA+KQC0jqGgy/Zrz5QZJ6V7yI/YrqA== X-Received: by 10.98.89.91 with SMTP id n88mr9475314pfb.280.1506088988407; Fri, 22 Sep 2017 07:03:08 -0700 (PDT) Received: from localhost.localdomain (c-73-189-82-67.hsd1.ca.comcast.net. [73.189.82.67]) by smtp.gmail.com with ESMTPSA id d124sm6428901pfc.42.2017.09.22.07.03.06 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 22 Sep 2017 07:03:07 -0700 (PDT) From: =?UTF-8?q?Carlo=20Marcelo=20Arenas=20Bel=C3=B3n?= To: qemu-devel@nongnu.org Date: Fri, 22 Sep 2017 07:02:36 -0700 Message-Id: <20170922140237.10869-6-carenas@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170922140237.10869-1-carenas@gmail.com> References: <20170922140237.10869-1-carenas@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [RFC 5/6] linux-user: fix 64bit versions of sparc and mips X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Carlo=20Marcelo=20Arenas=20Bel=C3=B3n?= , riku.voipio@iki.fi, laurent@vivier.eu, rth@twiddle.net Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Carlo Marcelo Arenas Belón --- linux-user/mips64/sockbits.h | 1 + linux-user/socket.h | 4 ++-- linux-user/sparc64/sockbits.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 linux-user/mips64/sockbits.h create mode 100644 linux-user/sparc64/sockbits.h diff --git a/linux-user/mips64/sockbits.h b/linux-user/mips64/sockbits.h new file mode 100644 index 0000000000..e6b6d31ac9 --- /dev/null +++ b/linux-user/mips64/sockbits.h @@ -0,0 +1 @@ +#include "../mips/sockbits.h" diff --git a/linux-user/socket.h b/linux-user/socket.h index dfa692286b..6fd486c6b1 100644 --- a/linux-user/socket.h +++ b/linux-user/socket.h @@ -1,10 +1,10 @@ -#if defined(TARGET_MIPS) +#if defined(TARGET_MIPS) || defined(TARGET_MIPS64) #include "mips/sockbits.h" #elif defined(TARGET_ALPHA) #include "alpha/sockbits.h" #elif defined(TARGET_HPPA) #include "hppa/sockbits.h" -#elif defined(TARGET_SPARC) +#elif defined(TARGET_SPARC) || defined(TARGET_SPARC64) #include "sparc/sockbits.h" #else diff --git a/linux-user/sparc64/sockbits.h b/linux-user/sparc64/sockbits.h new file mode 100644 index 0000000000..658899e4d3 --- /dev/null +++ b/linux-user/sparc64/sockbits.h @@ -0,0 +1 @@ +#include "../sparc/sockbits.h"