From patchwork Tue Oct 10 19:29:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 115453 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4118452qgn; Tue, 10 Oct 2017 12:35:18 -0700 (PDT) X-Received: by 10.200.63.43 with SMTP id c40mr19584094qtk.219.1507664118795; Tue, 10 Oct 2017 12:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507664118; cv=none; d=google.com; s=arc-20160816; b=Pqzv0brHTslmPK6XnLjAx1rXvkbIAjuHRU1xJvSBErn9uCe4gis1Y/jkdrZtOXNG4L Fv//KpsPjlYnX40jcFJG29EpdxKudfoycHPk6+2jPdRagdKQWRBGgmB3E/0Jv79DgxOm ryFpLRzLxAuA18v+cwr2jIZ3n32YIRCta2bsr/Myy7DhQlOEkl/ndiSRXRExj2I+dePC 1om1GvW7fABLAEOSYWWEdzUQV2VgOwagEpneg7LduOiBsvM41Uhn4psLS+pI6GXJo9EY peKM2ePPdXBiAeg6D9dn83LgNvx1YkXr/D69pDu9HUexdekt53ByXhl+ipsuWpb+W02X zh5w== 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=i55p0+8Z5qbzKtLG6pgGJ5L4HB6dhT/DH0JQkWpFtRVpDhRId6FxRVx8V0duJ4zkjW vhMLLnP/XAEqGb5Yj/qss0yp89IRbQWGIe/k5h4brSeOCZcURYdWrTc/ttqJsV6LUgZ/ wvxhaOF7aNNo2aqFxf5HdOlkT0/yAd+h0thUfqHMmGK+sof66XeNn7nA5v3DNKZ+3xd2 FbfUsGUdQnuFZby6+msbj593fyEYJRZPE7RcfRjJqjs9FXcMDvrZqwHs7ZJpMJdaAqwG MUypFSh9zsbZUEipuQsZpBCBNRwwLU1YbHCwi8oKg7xB09BPm23RfSDKBcFZDvMNU336 21EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=I+lyCVbn; 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 g17si6120761qtc.88.2017.10.10.12.35.18 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 10 Oct 2017 12:35:18 -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=I+lyCVbn; 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]:36811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e20JA-0003vN-Ms for patch@linaro.org; Tue, 10 Oct 2017 15:35:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e20EH-0000Vy-Gi for qemu-devel@nongnu.org; Tue, 10 Oct 2017 15:30:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e20EG-0004xI-KB for qemu-devel@nongnu.org; Tue, 10 Oct 2017 15:30:13 -0400 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:50210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e20EG-0004wz-EN for qemu-devel@nongnu.org; Tue, 10 Oct 2017 15:30:12 -0400 Received: by mail-pf0-x233.google.com with SMTP id m63so18276906pfk.7 for ; Tue, 10 Oct 2017 12:30:12 -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=I+lyCVbnDwIpunSpx8Hbq4FJ+jRI3CBiFtSWHvRyWsTD6+GzybAXYjEL5IVKe3//C3 giwcQIQBRRvhcyybvH/yo4p7oe9CoDBYe+TMcH8ERXR+mPoiHWHnALz35Qd7KU8GlPPC P5A3eKMcTyQJNV1c78Ub065ovt85nouLrpSnA= 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=cRybRB4OznU56tK4cweMlS5PdyUmoroji9T/6g+EbGSfAY0BAlVNGhnvzYqNJ2j0v1 JVY94kgc1qOq13jmxxoO2Fll/zByZVcwu15Fhu0khYeW9disaZTZ9f8te6tLHy2AbUkm y05h/cCG+P0tkU/2F1divaOrvxD/kLifFWXxPkUlu1dbULpzlz4rluyNhQgY0wwaumdc RLPLGLk3bFpBkiC5nrQZPe7pnEidd6yzub/bBBMI/UMZOyZUtATG0HoZez3MDAb5T/Q+ ZkSivO2SJ2vMdznmjou9euPlkOASnWEVi2LslpEpsadJg7wmviHdsnSO1bPfVBI+X6ls eLVg== X-Gm-Message-State: AMCzsaXiCZW647qJKuuyH7JpomJGFwqC5ybQT8EgQ9R37e7mDkg++Mxx emNoPzXcZmJMLpViKCPalRTvHjfmt3s= X-Google-Smtp-Source: AOwi7QAy7/vUubzPvGTgNmcSmnUHUS2lltOJtUV35utXBgTujBs6n1lwlETX28GJc2dVOSwzECA2RA== X-Received: by 10.99.47.6 with SMTP id v6mr13248614pgv.452.1507663811266; Tue, 10 Oct 2017 12:30:11 -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 r22sm19859788pfl.15.2017.10.10.12.30.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Oct 2017 12:30:10 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 10 Oct 2017 12:29:47 -0700 Message-Id: <20171010193003.28857-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171010193003.28857-1-richard.henderson@linaro.org> References: <20171010193003.28857-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::233 Subject: [Qemu-devel] [PULL v2 04/20] 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) {