From nobody Sun Feb 8 12:38:42 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 1636779508129631.2853752851682; Fri, 12 Nov 2021 20:58:28 -0800 (PST) Received: from localhost ([::1]:37788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mll7S-0000ge-Gh for importer@patchew.org; Fri, 12 Nov 2021 23:58:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mll5z-00075P-1r for qemu-devel@nongnu.org; Fri, 12 Nov 2021 23:56:55 -0500 Received: from [2607:f8b0:4864:20::12d] (port=46748 helo=mail-il1-x12d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mll5w-0003MI-Mu for qemu-devel@nongnu.org; Fri, 12 Nov 2021 23:56:54 -0500 Received: by mail-il1-x12d.google.com with SMTP id i11so10935874ilv.13 for ; Fri, 12 Nov 2021 20:56:52 -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 r14sm5414455iov.14.2021.11.12.20.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 20:56:50 -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=1RfAt+Gj4t0D2XZYXWOpd5I5gxE3FaCADzEKGgm/8V0=; b=CMsX56wYPh2FbALXg2ax8x+gMQA+TFxhW6C1PgIL2kF/1qkRqQAkZC2V/BiaLyq6TD Z3nTZk+uujQUzd1YR6m7JIxRdEMRh870oNXozOlvulv7ZJgKqRdMttoglTBe5eKuFEPn jVCEwayIoYAAxMholF8mZ2tERl8qV7QTXZYeHJNTjwXTgHdFfnbzKta35Oa/zm3cshGO 9JqJSUmrWO2iCSZfJnymfnJvOmh+FUNAuUqJ7hnd0HZifFz02J5vl7aLrCUiUqrzkBcC iDREQNG/2IsqkzzOjx5kpKJlG/mk4uL7vdBicHQUfDKYCvG4TSoNlFaq6R1y866RXFiX m0Jw== 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=1RfAt+Gj4t0D2XZYXWOpd5I5gxE3FaCADzEKGgm/8V0=; b=n+VFauWLYOiprU7sdfYTDM+XDHz0oV2VYYDAvtrexzzVh/4JsmCMxvskNlIELYpMdj cU8t08hVh1g6l5H/auY8thR0q3QihNQuVlbhqVjo/ad+3E/pey7c99/L6dAux4CH4f/E ukmklq68/y4UjOnnCp62zBnZE8GruVsdIhveIUPx15I2M5LC2XqXQnInWxkQ0J8aNaiC puCcNlKlrOjNRotDx62wEaRocSaHBc1yZWTu+UJaBc9NB0le0k7o7Ak9AActS4vHcoig z05r2oAezCvvHsW7YXLtJ0HiD/06UkUguDNU23XKSuOxTVh0+B2CsZL6xxt0AV68BepA bR1A== X-Gm-Message-State: AOAM531e+s+n9oe1x4y3JcJC8tF9TwpV03bivS9Uw4gnuKwl0b8OhS1K Ij3oupxn4JO6uVDv3qoKqDfihlryhdVVFA== X-Google-Smtp-Source: ABdhPJyPSbKsX67YHdeU6VnQ0zBg70+vNbFNJvRqQvCWqVYFKCOmDyqnCpbPktPDMDyUQeiU1V38RA== X-Received: by 2002:a05:6e02:b4f:: with SMTP id f15mr3429926ilu.38.1636779411345; Fri, 12 Nov 2021 20:56:51 -0800 (PST) From: Warner Losh To: qemu-devel@nongnu.org Subject: [RFC v3 3/5] linux-user/safe-syscall.inc.S: Move to common-user Date: Fri, 12 Nov 2021 21:56:01 -0700 Message-Id: <20211113045603.60391-4-imp@bsdimp.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211113045603.60391-1-imp@bsdimp.com> References: <20211113045603.60391-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::12d (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::12d; envelope-from=imp@bsdimp.com; helo=mail-il1-x12d.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: Richard Henderson , Philippe Mathieu-Daude , Laurent Vivier , Konrad Witaszczyk , Warner Losh 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: 1636779510575100001 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