From patchwork Tue Oct 10 00:55:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 115311 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3167260qgn; Mon, 9 Oct 2017 17:59:24 -0700 (PDT) X-Received: by 10.237.48.236 with SMTP id 99mr17460790qtf.316.1507597164847; Mon, 09 Oct 2017 17:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507597164; cv=none; d=google.com; s=arc-20160816; b=ASzxohzUcWOqj4K4GoynzTCegRwKSzgF807vl6nDNqQhhrsxjtiKBAaxxrHXxguMap HmiqVUwSmhuDACFw77ZYCZPTvcvL1znSOGaRCZzKUuIBba/tmFM88d+whjtS9kvtWdLZ qRW3HciMngEI3J76jXMlUDu8k22+SJFAnLLjoV7akYgSp1NxBuIvPJw9gbiVIyjvRDf2 Lc0OIcHlFnLSQbRoUVGI54n0beWPIBt+KG/njtmynQYl5/6V5+iFlC1tosX+YW6lVdtp q/40NFmGKq7/7+zZOGO7qRj2JvhlPnDAPTtYE+V4m87E889h2F7qFJYQXDRfDxk1Mui4 qeNQ== 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:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=uG5OhsPX14oZq3VVK+Rfgxl4+EVwuLdEt9otmw2teC8=; b=D6VYnhhR9Kglh4Cj7YpPM6CQo6IyMpAwiwEmWB+6Q1JMAJmRTrfnc8QtzFgGAEEUVn LfvDnk9TWVYeuZiaKoN59FyzsEDZw52cVzOQS6j+r7+z9SaTuN0j2EQ3RlbRgF3UZBLI sCLOXzYBhM9uY8B07BysfH4EW4yyPGaPRddklin9rlBGkqBAdpxy89wLZeoMof8Ls7WB AhbHxVa1NzG4UaCOKR2Pu6v8S717WELmovGxWPVF4FyXb7B2099A8V6wcxOJHi7dNMmG 9GWSkBGagzR8PIjg/hh2Tzr3eYfALkPJbgjNaOYJ1MF12i72zdXVxr5k0GZZabtlSdM8 EG3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=c4pz7kme; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u63si30700qkf.344.2017.10.09.17.59.24 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Oct 2017 17:59:24 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=c4pz7kme; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:60494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1itG-0004T3-PP for patch@linaro.org; Mon, 09 Oct 2017 20:59:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1iqB-0002B7-8a for qemu-devel@nongnu.org; Mon, 09 Oct 2017 20:56:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1iqA-0004L7-Eo for qemu-devel@nongnu.org; Mon, 09 Oct 2017 20:56:11 -0400 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:54344) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1iqA-0004KN-9B for qemu-devel@nongnu.org; Mon, 09 Oct 2017 20:56:10 -0400 Received: by mail-pf0-x229.google.com with SMTP id m28so10541354pfi.11 for ; Mon, 09 Oct 2017 17:56:10 -0700 (PDT) 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=uG5OhsPX14oZq3VVK+Rfgxl4+EVwuLdEt9otmw2teC8=; b=c4pz7kmeN5ugK//xyaOIO3JymvrySnfYGHKD7nj9uFsVkrAB5QlGnZCu/wLHJNNa8N yOhGikXqNCm44E0thJvNVU6IvXFmAGEsJU1KBrEay4S/K3aRsOvp5hT5cEETF45ovg7S hoMWcgpIDFyJxBtaaZGpCEiMkjAfclzDfGch4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uG5OhsPX14oZq3VVK+Rfgxl4+EVwuLdEt9otmw2teC8=; b=CzI4qu90sC/5IZwFhaVN9yzne6ZpxBapCggvIii+Ui9U/mI8O8cWrUCt/n6JHMDH99 9JtLW1rItqgJKdWyOWFJ2UIQoqQDVPzAfqZBPf85pQ6/bGKUUhErOhpRfv6bXpNp5KTj d55kvYBd/eSULhPiiq8SWRZetbVEUsw5H/xJMoUyy2+VDK7HpssMd+o9d6cF2PWRqRjF ebSE5FMpU+iy54HcGZwrH6EnVDLc8OYD3vD33TK42jU39v3+0szUCetb2TmDuoPtPQhU RSrj/ksl457IcIOvjzqZf/2SGh+ABxZvCzevFFG3Mx2NaaYIXmCgOydSxMvaFVxSkSaV kSfg== X-Gm-Message-State: AMCzsaWQckeENemiVrp/FHEHSlo/Gx9hlafC2XTcXK/ge4QZRizpZ04R Yt4iOTY1OHCVgoiFYquOX/Tl1NRp01s= X-Google-Smtp-Source: AOwi7QDYTKxwTD4to2+V3gvHE/6OOCK+s+2VrOCHV2Tf5a7i/gYoBZeo3vHgcGDCIZnP/arZVNFRTA== X-Received: by 10.98.35.18 with SMTP id j18mr5852793pfj.37.1507596968754; Mon, 09 Oct 2017 17:56:08 -0700 (PDT) Received: from bigtime.twiddle.net (97-126-104-76.tukw.qwest.net. [97.126.104.76]) by smtp.gmail.com with ESMTPSA id n19sm17121368pfj.52.2017.10.09.17.56.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Oct 2017 17:56:07 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 9 Oct 2017 17:55:41 -0700 Message-Id: <20171010005600.28735-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171010005600.28735-1-richard.henderson@linaro.org> References: <20171010005600.28735-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::229 Subject: [Qemu-devel] [PULL 04/23] translate-all: make have_tb_lock static 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: peter.maydell@linaro.org, "Emilio G. Cota" Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" It is only used by this object, and it's not exported to any other. Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Emilio G. Cota Signed-off-by: Richard Henderson --- accel/tcg/translate-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.6 diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index b3bfe65059..a7c1d4e3f2 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -139,7 +139,7 @@ TCGContext tcg_ctx; bool parallel_cpus; /* translation block context */ -__thread int have_tb_lock; +static __thread int have_tb_lock; static void page_table_config_init(void) {