From patchwork Wed May 9 23:11:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 911216 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 40hC0w2cFbz9s37 for ; Thu, 10 May 2018 09:16:48 +1000 (AEST) Received: from localhost ([::1]:59416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGYKE-0004IG-1s for incoming@patchwork.ozlabs.org; Wed, 09 May 2018 19:16:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGYFe-00082Z-CP for qemu-devel@nongnu.org; Wed, 09 May 2018 19:12:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGYFa-0002oZ-E3 for qemu-devel@nongnu.org; Wed, 09 May 2018 19:12:02 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:52403) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGYFa-0002nh-45 for qemu-devel@nongnu.org; Wed, 09 May 2018 19:11:58 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MaKQy-1f1EJg3aWG-00JuaM; Thu, 10 May 2018 01:11:41 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Thu, 10 May 2018 01:11:23 +0200 Message-Id: <20180509231123.20864-7-laurent@vivier.eu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180509231123.20864-1-laurent@vivier.eu> References: <20180509231123.20864-1-laurent@vivier.eu> X-Provags-ID: V03:K1:I3R8OI6CA4qozuuPLb6Db0DGEgbJQxLcJCEFmYdPCttZ4MstWwa QU2caaX7wNW2fR0K7YccS+tiy/9f+WjNKdUJMlhcZXPPrC4pK/+7V9AIAb2MsYMsQ0EeTV/ NQmBgmgABwYzBsTjW0vjXZCMnd5y3XCh1gnY9eeQInMzU3bgFPHyV/ossQEyVaQyRPHPCwI 1X6oD7IICu1emyQV/xVlw== X-UI-Out-Filterresults: notjunk:1; V01:K0:aU+sZGFbq4s=:pdLKV5CjRB9A2vliAvlF7P R3vjxwtTvnzmJvHDsUQNMZr3Em2x9XDOswnnbEgC+aQ43goQNyjrUAcq9h5mqaRiA+D5OHJDW y3FReIJUaIMqCsX+qKecJANmhIgRsxfHYL/AcTCht28mnlhqxS8f8yRNwkdyEWQbfmvArPR66 KG643vhjQTAp4sR8k+nyVParWnueIggPZmGpjvCR/xE1ZecPssnfUkPMxy1X1XEsYnustPrlL PXDLIqcEkci882e6f8GUfrYVXqNdWbSM/qsI8xNUSCiQ2l7IfyAJlhnmQZAhoeqoPmCVgZ8fK FjtyTf67DtzHSoy3qhuvQJG5pqBk5UHBqpEFFoBJ9OWCbn7FRIHsRga6pmuuXkPNT9pFxZa4m qCagDjGA0EFIBW7Q4PmnkSTShkhrUtzYtMQkE0jsh60MU3jS0558N91yMaMmWElveIEegKeYL u45Wxsbmcy2ukFVXEEhq7zJePctvZzNSQ+KpxQB4xsGid6Thwun4VmCqyOz6ed8H/k1kqP0vf gUS40cRm4aSvlQjUzMznv5TC2WVF9lVdbuuSBE00YN+zA4DsIK9pMRI9GoyxjhDwis5uEeB7w I4wltVYFJJ2zr2EWg3G39pHitsD9347Bkp7jtZfARVsLzBC9dxhsPXeYpokxZivvF6xUMQXqs YVOXCyO0cpXA9hPO9M9lwTArswppDdR2RqHRkZlLkRMm3p4hBAUAj6a1PsaH42gR7o14= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.72.192.75 Subject: [Qemu-devel] [PATCH v2 6/6] 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: Max Filippov , 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 --- 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