From patchwork Fri Sep 30 21:30:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 77178 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp513072qgf; Fri, 30 Sep 2016 14:34:03 -0700 (PDT) X-Received: by 10.237.33.176 with SMTP id l45mr9369881qtc.103.1475271243127; Fri, 30 Sep 2016 14:34:03 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id i184si13408313qkc.179.2016.09.30.14.34.03 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 30 Sep 2016 14:34:03 -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; 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 dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq5RS-00086o-KS for patch@linaro.org; Fri, 30 Sep 2016 17:34:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq5Ou-0006Rd-DD for qemu-devel@nongnu.org; Fri, 30 Sep 2016 17:31:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq5Oq-0006V5-SM for qemu-devel@nongnu.org; Fri, 30 Sep 2016 17:31:23 -0400 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:37262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq5Oq-0006Uh-Db for qemu-devel@nongnu.org; Fri, 30 Sep 2016 17:31:20 -0400 Received: by mail-wm0-x233.google.com with SMTP id b80so66254151wme.0 for ; Fri, 30 Sep 2016 14:31:19 -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=nhSfDa+zbGl4NMm4MfmP8ydBaCvaXZydsFOzyGlzPaA=; b=QwY0+ucpjONKPTHVZD7HCmwpnG0iOnw8snFChud+8+mQ7K1TiIOH1WCk3sRLzHy592 m2cp/az8IysOOia5zvTQoTOv4IjfbotUAsn61dIdUZl3LRma4ppI9FPH+gfHm7GRQQfW jUZBg4+FtwX1Lexvptv3JG7C0YNa1KijQ9ypw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nhSfDa+zbGl4NMm4MfmP8ydBaCvaXZydsFOzyGlzPaA=; b=f2RVe0yEXqWwvmY6mEwFG+tRZgrQaONzBZgaEkQB60bJOLf2nB7AjX3a/Pu4NEOJ1f d7eh/zaALUmhaORlErtFPIAdKOz6MsmZRKM21ftGRJvsqPw13JeGFPCMKfjl4xaK0q0g 2xcpdVjAWe7PKdzradldnMt1ZgNMEgj2qxxfsICCm243A2Ma2XQOgS47/6ARxKnRVknC 5J0cQKhxe9/i3YPH1FAoXGZxOr/y0zeWU+8jSYbc8caGTUNe1Uki8MGaNj8reO8QqLlz +hKqONdWYuilSkxom0uLEPpeJz31J/4vFRr9RyGsMz7GntGS6llp2OXxWJ6Bd4OHEXqV X0kQ== X-Gm-Message-State: AA6/9Rl26di2davkNsBHyCfiHeGYL4T9tRa+GPkrbE5lfqxPIMmBP8H9a1NenQnk/iagi4ab X-Received: by 10.194.82.72 with SMTP id g8mr8268474wjy.214.1475271079299; Fri, 30 Sep 2016 14:31:19 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 17sm21395978wju.44.2016.09.30.14.31.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Sep 2016 14:31:17 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 866333E02D5; Fri, 30 Sep 2016 22:31:17 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org, pbonzini@redhat.com Date: Fri, 30 Sep 2016 22:30:52 +0100 Message-Id: <20160930213106.20186-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160930213106.20186-1-alex.bennee@linaro.org> References: <20160930213106.20186-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::233 Subject: [Qemu-devel] [PATCH v3 01/15] atomic.h: fix __SANITIZE_THREAD__ build 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: mttcg@listserver.greensocs.com, peter.maydell@linaro.org, claudio.fontana@huawei.com, nikunj@linux.vnet.ibm.com, jan.kiszka@siemens.com, mark.burton@greensocs.com, a.rigo@virtualopensystems.com, cota@braap.org, serge.fdrv@gmail.com, bobby.prani@gmail.com, rth@twiddle.net, =?UTF-8?q?Alex=20Benn=C3=A9e?= , fred.konrad@greensocs.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Only very modern GCC's actually set this define when building with the ThreadSanitizer so this little typo slipped though. Signed-off-by: Alex Bennée --- include/qemu/atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.3 diff --git a/include/qemu/atomic.h b/include/qemu/atomic.h index 0cce246..c493f89 100644 --- a/include/qemu/atomic.h +++ b/include/qemu/atomic.h @@ -82,7 +82,7 @@ */ #if defined(__SANITIZE_THREAD__) #define smp_read_barrier_depends() ({ barrier(); __atomic_thread_fence(__ATOMIC_CONSUME); }) -#elsif defined(__alpha__) +#elif defined(__alpha__) #define smp_read_barrier_depends() asm volatile("mb":::"memory") #else #define smp_read_barrier_depends() barrier()