From patchwork Tue Dec 14 00:25:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 523664 Delivered-To: patch@linaro.org Received: by 2002:adf:eccd:0:0:0:0:0 with SMTP id s13csp5341243wro; Mon, 13 Dec 2021 16:35:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyN/RXPuhjW9rOS7wLGOmO+zNrOF/Sqp8a40riqzoMxmowm+fvRemPeABdYVv8AWubdukOm X-Received: by 2002:ab0:698c:: with SMTP id t12mr2510625uaq.142.1639442111453; Mon, 13 Dec 2021 16:35:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639442111; cv=none; d=google.com; s=arc-20160816; b=yujnIzu3yS0PYHz/OrbYndQIbL/syVtFxeynUOPLkRQcwpI7BqTOSPqNOxDfxc+BHp N42MlhxDGEEFJxJaR/nf2U/JT6ARZCrmHJ6vS3rWeUnywgvWhJJl2rKgDhFZfXigPP3O ZtyxUxAv+/3L8WB3QgMUPsjqCvk8xQdV6Uz6ZW1ci/uzlgfWgeGqULiv+SkbEbKzD3qO 32c0tP7T6hrnt4ln+WPxRd+9a7p0kLhIxTxIDCtyc0lPkPVOdqnHvUNpPQeFqjmZBG0w WtYm8UGQaHW9w0KCsW975+8BkG0heno8qcd61lfWkFdlaiyIhIuCtlNljvh//xh60n00 H1WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=TFNb/strBQB9hLaOeOMEOLWgIeKVijWjHGUQ12nJnAw=; b=jqXotQ4jK9fqDU4F+BOt4+ZxMzDi3UPiSBSz20lyEZVaW8aqj9v6bVhwMP4Y/QDNSi yzfChZAqe0cqwXcwmSkEAqEJfWSObnt7TImX3yzHr+SK7DsxMTT0Yyq6TpmyO3sXZJoo DsrmKJB3FCdY8yvq1Btunpengp4ratmSw5VEcoYV4eC5EErvy5oYxvCjqHtQjrp16HMv 6wK9Mhf8LaV66VMdwGD6n49JDd6zdRQb9TU7jiMj5Z6vWYYYYZ2j8/ABaK/uE6RnufDt yEeg+5qr46LWoA+IfSBWJGzhMdr1PGoYlRed6WDd6zPIxLX5+MjzIJTyZJSXweTzD4xZ N9VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PPModKLw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w6si9801041vkb.142.2021.12.13.16.35.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Dec 2021 16:35:11 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PPModKLw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:49586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwvmg-0006rR-T8 for patch@linaro.org; Mon, 13 Dec 2021 19:35:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwve3-0007tq-R5 for qemu-devel@nongnu.org; Mon, 13 Dec 2021 19:26:15 -0500 Received: from [2607:f8b0:4864:20::534] (port=41809 helo=mail-pg1-x534.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwve2-0005S9-5P for qemu-devel@nongnu.org; Mon, 13 Dec 2021 19:26:15 -0500 Received: by mail-pg1-x534.google.com with SMTP id k4so15965173pgb.8 for ; Mon, 13 Dec 2021 16:26:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TFNb/strBQB9hLaOeOMEOLWgIeKVijWjHGUQ12nJnAw=; b=PPModKLwQ5yV7V3sebUjlcZyy03stKkBYSPswRxm/NZlYwQm1ttk3xEF0BhqALmO+C 1VyEWIHR4lhzLnXhwxYbGGpy+8svAOtxlCLTqAn8WAJS+HvGzy/sTYuvo1RBceGH3nX/ kE/ZHl1/tf0/f3GuhihB0TbrjmDnLPcdOVebcvWLScmTBWCfOekI6UV8fEqHHqJEaXRR 7MFgylGCT4mJQ5Vc/dC0RaER1WKqLGnY9M/jmYyMCxjvkFFqM40vnX4M+wIyo6sSRAZZ zK4lqNXPudRiV6IxwSdPfLordy7EeS5rhNtA3n4wMcJGiLFwEJVY+3fRYRkhV4UuMeH6 cCeg== 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=TFNb/strBQB9hLaOeOMEOLWgIeKVijWjHGUQ12nJnAw=; b=c9GpndgNURw4qqTRBjyeXZ5FGL2ognBrLts7O0e8mNtoVpZxYyClz8LDHGUYxu7z9N 1bGzjoQ3+Cwg8LVOSKN9CDMKEMvwJ93KLkVspuvmVWoOtYgWho0r4wVd+aAa2mhcdGYi P19vUEw00p3RXBWi2Aj1z/C7hbcXZr1ui5IQFRNCkEPc2+a1QrkOJ8x9MCfDfjyJThv3 LI6axFQ+td1n+Nny6zjCvs9bB8XMJoYUIn5HdkO26N/y+lAPXRea4XpuYe8XFhZzxJqT se3DNT1OYORzozxyaIi/kRR6ZeYjw37+fWFxFw7ksS6I2HWO83qvMvFFxDK31WR4Na7J NLgA== X-Gm-Message-State: AOAM5317UNlc3I4C/zHEnON1x6+ZnequHRL9q6Fe9SH4QqIN+QAKf1Iq KE+kSZTxx9/zQFILpocV6poIFdIN8lO9IA== X-Received: by 2002:a65:44c4:: with SMTP id g4mr1410287pgs.103.1639441572992; Mon, 13 Dec 2021 16:26:12 -0800 (PST) Received: from localhost.localdomain (174-21-75-75.tukw.qwest.net. [174.21.75.75]) by smtp.gmail.com with ESMTPSA id w7sm11320253pgo.56.2021.12.13.16.26.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Dec 2021 16:26:12 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v7 07/15] bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS Date: Mon, 13 Dec 2021 16:25:56 -0800 Message-Id: <20211214002604.161983-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211214002604.161983-1-richard.henderson@linaro.org> References: <20211214002604.161983-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::534 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x534.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-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: git@xen0n.name, laurent@vivier.eu, Warner Losh , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This value is fully internal to qemu, and so is not a TARGET define. We use this as an extra marker for both host and target errno. Reviewed-by: Warner Losh Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- bsd-user/errno_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsd-user/errno_defs.h b/bsd-user/errno_defs.h index 832671354f..141e08456c 100644 --- a/bsd-user/errno_defs.h +++ b/bsd-user/errno_defs.h @@ -151,6 +151,6 @@ /* Internal errors: */ #define TARGET_EJUSTRETURN 254 /* Just return without modifing regs */ #define TARGET_ERESTART 255 /* Restart syscall */ -#define TARGET_ERESTARTSYS TARGET_ERESTART /* Linux compat */ +#define QEMU_ERESTARTSYS TARGET_ERESTART #endif /* ! _ERRNO_DEFS_H_ */