From patchwork Mon Dec 20 20:24:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 526053 Delivered-To: patch@linaro.org Received: by 2002:a05:6e04:2287:0:0:0:0 with SMTP id bl7csp4422041imb; Mon, 20 Dec 2021 12:26:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsj1qleirOyc+3C0mhcdwIHl+GAKo20oXQ4cZmWaOmJmsluB93STexKR53ZRzgpviTJz8i X-Received: by 2002:a6b:f018:: with SMTP id w24mr9184401ioc.124.1640032008436; Mon, 20 Dec 2021 12:26:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1640032008; cv=none; d=google.com; s=arc-20160816; b=BowAvmnQ5YmCt/0yxdCwpTg1cqcbqMoRKlUg9RZT+lBBta6Vsi6FUejFna1Vem4DN+ sE/YOu5dD8PhhPBZQ3ftZ5jR8JhCGE5FWwZj4jlHFsdLkQASd0w2f1XX01IPQtb7RFdT lkat/Qk7TnkmbPc17BPi5U4lk3PLtBpC3ZBm1jCvHC+eMu4vAwaGRRexbPcpDuNXBIyD GhN4NonMrZMH/tovFFh0GakLS6AHGQOblJqI+T/Udso+BDI+xlh3gO6yGXx0H1rSubA1 oYC5zxQqIuy3kwLIgFlgX9/lU2OF6SHFhyduYGfOoQg8OFNhWnluiMjCIzwEzImsX4UY 5l8A== 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=fYTTahc1/FTqs7r6UAJwuLEIENbk9cJdkoTIy+6ykiDM5ooyXanBeTQdNbWYFfXJPJ nr5r144AFbpJzYJUt4A7qZxqZ+ZdKh33Yu6PZ4nl2yiI8Li49l/61pEZCtoitX+duLRx AQ6iY5pHy1WkaD896Gh6EgeTc8EJZ5zTqaMrH6tj8EgGCL9FqNUH96YJQFqfnKa/2+bA 4dmyjjLVXagZ55gIfCIay9oohu5DVPo4RAMihg7K0sL5GAile52ldu7jLVHwWkSXXfDE YWcnPEzmpBIyFaVSGhxAD5Yw1VfvMUib1SQ4BDFenk6dt1gejrQLDdP3I08kNw9bVQ5r SF3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=igydWZSO; 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=fail (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 r9si13204091jad.71.2021.12.20.12.26.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Dec 2021 12:26:48 -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=fail header.i=@linaro.org header.s=google header.b=igydWZSO; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzPF9-0001m3-VX for patch@linaro.org; Mon, 20 Dec 2021 15:26:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzPDi-0001hg-B1 for qemu-devel@nongnu.org; Mon, 20 Dec 2021 15:25:18 -0500 Received: from [2607:f8b0:4864:20::429] (port=41917 helo=mail-pf1-x429.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzPDe-00070E-E0 for qemu-devel@nongnu.org; Mon, 20 Dec 2021 15:25:17 -0500 Received: by mail-pf1-x429.google.com with SMTP id m1so8641239pfk.8 for ; Mon, 20 Dec 2021 12:25:09 -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=igydWZSOj9B2sZrf0+9GvzkY2Hpwfh8INrFRQfg93CcbFptOI4KAQ5+5ZDi6J7B1Ix Zp+A0uL0xQtK/Exhw/dK2+tBDbh2tgu4QSumdSJb1gIplIDf39PZdNBaTW96WMk/TfIg SGE+mO4KrsnXpqqw55r0hu4m7BjsvYU6gDCJ8he92rUHwWs+CLrUvigD2cV2jKohbtNL aKCxM+jYPD5AmqJB8ryI5htcj0FIhza75kO5FFDSPt7RjlQVfCyKaiSoXdErGPV4iLu9 eKmJvZQWtQP4oXbcXDWRF00xfURZIuYoVOdjJungkNXzk0VTibJ4dKzYg4Q+5niyJf9g QZAw== 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=slnISpKEtLaNGrbLEFb7dCRQojy8G/MFwSRwaEics1F81xox/Y7tDsduDT/qycmUDs SD+M05m7KNXkGcYzjAkUykLoNSZm3PnsZazGPU2n5djdGOzrYHOWGk5zu7crprXJYlsQ 8zfboCTreT4GWn1WUNsHCQCYVaGLkf93ZmRgqiiISrlmgHWu6wKqZ2ZUzzyjVdY5xA5E RKivMB2b7h/DW9tdzPBm4j+bBHE4ElHiZJ7s92Ffvg6kN4SGuMuNgWEVbLqiXrejiHAB dkCg9PgdQMsaIH/UiyTwQaJrMUU8Fi06mDNmkiikucRzaVMrGT7LVIB4Qhs8cR5wrllU fHfQ== X-Gm-Message-State: AOAM531AAORZC1WCWYU3Ynxels41180rOizw9IH2iUZ4iTRzepYKcSpA tAIoD84BXwhtlYo60kS58JQ1e+Qs+lLG2g== X-Received: by 2002:a63:40c5:: with SMTP id n188mr2082025pga.118.1640031908620; Mon, 20 Dec 2021 12:25:08 -0800 (PST) Received: from localhost.localdomain ([156.19.246.20]) by smtp.gmail.com with ESMTPSA id q19sm233118pjd.21.2021.12.20.12.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Dec 2021 12:25:08 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 07/15] bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS Date: Mon, 20 Dec 2021 12:24:52 -0800 Message-Id: <20211220202500.111897-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211220202500.111897-1-richard.henderson@linaro.org> References: <20211220202500.111897-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::429 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x429.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: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Warner Losh 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_ */