From patchwork Mon May 14 18:19:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 913184 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40l8Fs2GZKz9s1B for ; Tue, 15 May 2018 04:23:13 +1000 (AEST) Received: from localhost ([::1]:47604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fII7q-0007Mf-Sn for incoming@patchwork.ozlabs.org; Mon, 14 May 2018 14:23:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fII4a-0005E4-ID for qemu-devel@nongnu.org; Mon, 14 May 2018 14:19:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fII4W-0005EX-Bc for qemu-devel@nongnu.org; Mon, 14 May 2018 14:19:48 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:47607) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fII4W-0005Cs-2K for qemu-devel@nongnu.org; Mon, 14 May 2018 14:19:44 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LgjC6-1eXQRt2FAU-00oHun; Mon, 14 May 2018 20:19:35 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Mon, 14 May 2018 20:19:27 +0200 Message-Id: <20180514181928.18034-7-laurent@vivier.eu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180514181928.18034-1-laurent@vivier.eu> References: <20180514181928.18034-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:vdvPg9r0Wed0EJMry9XgY7ljxy6KeJiubgzaiyC+ae/xMR2tfER tBqPeHtOX1MgZcu07szuhGisMNAj6KkSTKGyS8e2erfT1nI+GxqL/MdGSfw0LNKtTD0iHZP j+RrU3lCWQwK58HcwmyhhSwly/jIFcVsZTgtOTJ2CPxFF4zHwYGeUkjyRVHjzLEosFdEX6b G5UChQ4UclokyQN/s7Usw== X-UI-Out-Filterresults: notjunk:1; V01:K0:XJ6379iC7eQ=:1QpL+iEfP8q83+QNuY4tun NJXiJCwmK9nL+KHfdmBymvvYqnJN2hRwFUIcBhejDTs19PRQCCqW0ExXqcMTkwluJZQlyTZNP hF7itiQK1vNcmvMq9daw45YCpzi9Jz/w3BxVqMxmnqWj3Q2csB7fSxI2/Hk5v2RRFuuqvJUGn CFPN4yK/aKMc/3LXVZ9Zemat5lh4sBvg8WQgqIQCLok8y2pIHJVwMaidT8f5X1GAv5EVfpi6d JkSvOH+CpWkjmLnuefYNichhO4lTHcs9PNzKVCGj9EO5DPrG83xOW9f+s++5ydUJLHi1GP9Qr nopktlzt/UA1fddPOZLZ58j4EJgFsc+SxUAIVGfe1ITvuHdnzm1t4OZXh0A/ppLi+z6MzNcrV o4p7Gj7IuQRRRRo+xzjA7HqX2XMv+I7hoTd4tdhW/vBUNEqIKHmjW5P1qcY1S1MrzbTsK0yFq SwfM4sZu5CKK+TBuw1DAlF1sGynbr4sI0ZpCZo0ErSyX6wyC1fpoRTtvOSpsRFgD77tulG9ck SrfGCI6t+p44ByRZH2+9UbvHcLhxY+nisteaqOxmAGbCMJrstZt5uxZJ/f6qESMhMkhuEf1Lt qZJDC/CdiYO+1q0iPgaHoEWFww76dN2z/GyKQmWZrxQi4dj+cLahBd9ojpUKOj7o/JSBUsrak 0JYVLrZl6Q5kFVeTt7APoJQyD1vYn8nnIW7svHAvxmw7w584WwYaqBDCyUef9OiHnzi8xGuN1 EtGhEaJRyVCr1k0X X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.135 Subject: [Qemu-devel] [PULL 6/7] linux-user: fix UNAME_MACHINE for sparc/sparc64 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: Riku Voipio , Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" "sun4" is not recognized by config.guess. linux defines sparc and sparc64 in arch/sparc/Makefile. Signed-off-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Max Filippov Message-Id: <20180509231123.20864-7-laurent@vivier.eu> --- linux-user/sparc/target_syscall.h | 2 +- linux-user/sparc64/target_syscall.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/sparc/target_syscall.h b/linux-user/sparc/target_syscall.h index 3725875fcf..b9160a771b 100644 --- a/linux-user/sparc/target_syscall.h +++ b/linux-user/sparc/target_syscall.h @@ -11,7 +11,7 @@ struct target_pt_regs { abi_ulong u_regs[16]; }; -#define UNAME_MACHINE "sun4" +#define UNAME_MACHINE "sparc" #define UNAME_MINIMUM_RELEASE "2.6.32" /* SPARC kernels don't define this in their Kconfig, but they have the diff --git a/linux-user/sparc64/target_syscall.h b/linux-user/sparc64/target_syscall.h index 34f49df4a1..3073a23e03 100644 --- a/linux-user/sparc64/target_syscall.h +++ b/linux-user/sparc64/target_syscall.h @@ -12,7 +12,7 @@ struct target_pt_regs { abi_ulong fprs; }; -#define UNAME_MACHINE "sun4u" +#define UNAME_MACHINE "sparc64" #define UNAME_MINIMUM_RELEASE "2.6.32" /* SPARC kernels don't define this in their Kconfig, but they have the