From nobody Sun Feb 8 01:34:06 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1636562103119724.6710863596803; Wed, 10 Nov 2021 08:35:03 -0800 (PST) Received: from localhost ([::1]:35848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkqYn-0005WY-39 for importer@patchew.org; Wed, 10 Nov 2021 11:34:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkqWh-0007aw-Eb for qemu-devel@nongnu.org; Wed, 10 Nov 2021 11:32:43 -0500 Received: from [2607:f8b0:4864:20::d2f] (port=43772 helo=mail-io1-xd2f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkqWd-0005bv-MW for qemu-devel@nongnu.org; Wed, 10 Nov 2021 11:32:43 -0500 Received: by mail-io1-xd2f.google.com with SMTP id z26so3460085iod.10 for ; Wed, 10 Nov 2021 08:32:39 -0800 (PST) Received: from dune.bsdimp.com (50-253-99-174-static.hfc.comcastbusiness.net. [50.253.99.174]) by smtp.gmail.com with ESMTPSA id x2sm130403iom.46.2021.11.10.08.32.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 08:32:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tkJTC1f42Usxm11YPPgsA91Pn7lqAeCzgrwWDOdWQas=; b=8RR7sMM4EixWSP78Cc6SgWRvo2g5czo1DENxkcqfbwo8U7Jt+B9vchBw8y0OTdFdeB J1vIaU0tZ4VpUZ6saCNRiwW8P8+7bVvaRQh3aVy+cB/9IOSy0UXE36+sE3E2wcnt2G2F Giby1UogXkUKs8Y+wxjcUhDoAkUyfYGPdrgA0qdGaGd8l1p6I4rmsPF3OSND6p/9Nz6V gbixi8yVzZ14G7ly+QTR10Y7ENjV8SCZSiFVBgoNYscktrPZ1E4JSIVrlmQ76mcXIbqC 1rYKYaTdj7mettGk6UeEL2Ui3cekr25gBWeHdxSzI5XuRKCuHs3nTjEClcmL+6wiID2V P6CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tkJTC1f42Usxm11YPPgsA91Pn7lqAeCzgrwWDOdWQas=; b=6oiS0UBek/BF4Md5Qu0pSfIOuOx3R1upX56msYNyrMYdUftKRjzdyv+fL+UUaoWb8e W66XStvYN6t+vp5BsI3viy3rHghZbvQ4i4PmUsjvlM7EpktK8zP8kj8xnB1Qzw+vwkGk Pds5Ar9DKN37Y89oUZCl43CLM9P/pUKQhRsufVSSxag5cmXLWKi8a3qL8WjDxYTyICsi IN3rZZ9jU8VHjF1mXtChSnkkrxOwD4xIROa0S3sg/uQfdDTLBp2BB+QTvJzVVW+o7JDn oiVQLBsMTGlxgBcEPC78QEUlq55qhAFAKZmOfLuWye/Qp+1yBqGaeph1dyXfKPIh+GQM mZ5w== X-Gm-Message-State: AOAM531wRFThiC82VEO96usKRnAdxV4igQLqTpcnJk1I/bsTe8MugX8e 3yb8hGs6FMeshdl7dkGmT2HQKBKpjSiyjg== X-Google-Smtp-Source: ABdhPJyZfcP8Hj4EfXnfJwS1Z1NRMfw9z1pZHVMx7GB3NgPg0fVgS4cN4t17W34BTL1Bd8chWXMJvQ== X-Received: by 2002:a05:6638:16d6:: with SMTP id g22mr106597jat.19.1636561958284; Wed, 10 Nov 2021 08:32:38 -0800 (PST) From: Warner Losh To: qemu-devel@nongnu.org Subject: [RFC v2 3/6] linux-user/safe-syscall.inc.S: Move to common-user Date: Wed, 10 Nov 2021 09:31:30 -0700 Message-Id: <20211110163133.76357-4-imp@bsdimp.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110163133.76357-1-imp@bsdimp.com> References: <20211110163133.76357-1-imp@bsdimp.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d2f (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::d2f; envelope-from=imp@bsdimp.com; helo=mail-io1-xd2f.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Warner Losh , Richard Henderson , Philippe Mathieu-Daude , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1636562105680100003 Content-Type: text/plain; charset="utf-8" Move all the safe_syscall.inc.S files to common-user. They are almost identical between linux-user and bsd-user to re-use. Signed-off-by: Warner Losh Reviewed-by: Richard Henderson --- {linux-user =3D> common-user}/host/aarch64/safe-syscall.inc.S | 0 {linux-user =3D> common-user}/host/arm/safe-syscall.inc.S | 0 {linux-user =3D> common-user}/host/i386/safe-syscall.inc.S | 0 {linux-user =3D> common-user}/host/ppc64/safe-syscall.inc.S | 0 {linux-user =3D> common-user}/host/riscv/safe-syscall.inc.S | 0 {linux-user =3D> common-user}/host/s390x/safe-syscall.inc.S | 0 {linux-user =3D> common-user}/host/x86_64/safe-syscall.inc.S | 0 meson.build | 1 + 8 files changed, 1 insertion(+) rename {linux-user =3D> common-user}/host/aarch64/safe-syscall.inc.S (100%) rename {linux-user =3D> common-user}/host/arm/safe-syscall.inc.S (100%) rename {linux-user =3D> common-user}/host/i386/safe-syscall.inc.S (100%) rename {linux-user =3D> common-user}/host/ppc64/safe-syscall.inc.S (100%) rename {linux-user =3D> common-user}/host/riscv/safe-syscall.inc.S (100%) rename {linux-user =3D> common-user}/host/s390x/safe-syscall.inc.S (100%) rename {linux-user =3D> common-user}/host/x86_64/safe-syscall.inc.S (100%) diff --git a/linux-user/host/aarch64/safe-syscall.inc.S b/common-user/host/= aarch64/safe-syscall.inc.S similarity index 100% rename from linux-user/host/aarch64/safe-syscall.inc.S rename to common-user/host/aarch64/safe-syscall.inc.S diff --git a/linux-user/host/arm/safe-syscall.inc.S b/common-user/host/arm/= safe-syscall.inc.S similarity index 100% rename from linux-user/host/arm/safe-syscall.inc.S rename to common-user/host/arm/safe-syscall.inc.S diff --git a/linux-user/host/i386/safe-syscall.inc.S b/common-user/host/i38= 6/safe-syscall.inc.S similarity index 100% rename from linux-user/host/i386/safe-syscall.inc.S rename to common-user/host/i386/safe-syscall.inc.S diff --git a/linux-user/host/ppc64/safe-syscall.inc.S b/common-user/host/pp= c64/safe-syscall.inc.S similarity index 100% rename from linux-user/host/ppc64/safe-syscall.inc.S rename to common-user/host/ppc64/safe-syscall.inc.S diff --git a/linux-user/host/riscv/safe-syscall.inc.S b/common-user/host/ri= scv/safe-syscall.inc.S similarity index 100% rename from linux-user/host/riscv/safe-syscall.inc.S rename to common-user/host/riscv/safe-syscall.inc.S diff --git a/linux-user/host/s390x/safe-syscall.inc.S b/common-user/host/s3= 90x/safe-syscall.inc.S similarity index 100% rename from linux-user/host/s390x/safe-syscall.inc.S rename to common-user/host/s390x/safe-syscall.inc.S diff --git a/linux-user/host/x86_64/safe-syscall.inc.S b/common-user/host/x= 86_64/safe-syscall.inc.S similarity index 100% rename from linux-user/host/x86_64/safe-syscall.inc.S rename to common-user/host/x86_64/safe-syscall.inc.S diff --git a/meson.build b/meson.build index 9702fdce6d..728d305403 100644 --- a/meson.build +++ b/meson.build @@ -2872,6 +2872,7 @@ foreach target : target_dirs if 'CONFIG_LINUX_USER' in config_target base_dir =3D 'linux-user' target_inc +=3D include_directories('linux-user/host/' / config_host= ['ARCH']) + target_inc +=3D include_directories('common-user/host/' / config_hos= t['ARCH']) endif if 'CONFIG_BSD_USER' in config_target base_dir =3D 'bsd-user' --=20 2.33.0