From patchwork Thu Oct 17 13:16:13 2019 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: 176666 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1026815ill; Thu, 17 Oct 2019 07:41:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqytfk7eXQym7ZTz2J59dNkWYZFOtqFcOT3nH9n8HCt9ZvLGEtmrDHa64kKtiqQznwXMpIHH X-Received: by 2002:a37:614e:: with SMTP id v75mr3754838qkb.166.1571323302326; Thu, 17 Oct 2019 07:41:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571323302; cv=none; d=google.com; s=arc-20160816; b=ZCU7cVil0Pad0A4Tr6twhngIyjGBqv6kO0+gJgQgmmbLXr5KNlEEqAdEs6AwA4cr/h U205vU3Lmr6pzztoVV3es9fxMhqvFkwRm6AjdLNMT1zrKkFDy1PkAf+/z7/hqpvxy0Zk hrIn/mmJIOvDqjM9nk8Zply2sTETpjegAf+o7l39g6VGvgSt2CwDQsFWh2Fn1fkULv71 h29QmC3rHU5RlWtpo4p3qUN9+9dzI/bgVqS00rheKnDHYz6YdYeV7cj5TYca/QDsVdoI WVeTs6HzCpB9LyRvLruYcgLgc1cKPMrZ9iUoE0md5oWUv9kfwP8lQheUtfc9vcff/flC 1d6g== 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=O//gTJ1ccAn0kLqEOJo6VegQQGC/e2rAI1ZBzD10O1k=; b=1LVoPBqb8wW71kgQDb6ScdIL20G0X+3JB1NpLF8ZfvLnFa2rEXig2guNP4kPvw2OWN Okpe/xF/2BXIF2WHTaRRUscq/hI62WoHkiNRFjamh4sEby+/zN9eqKhjqZ0r3eQ5E2DX VicMG8BesA5CM7LlamMjO+fgFRWl43W6E2ZY0WTU2grKG1tysz5aAUYvByhi/7TPOzL8 TtuKihWlrukcoR24V2BVH7c2eopMATIiog8fHMtG7hjQQzAG8QWVCp5mgvT38UfNIh7+ 44aLG4SiXUTvrb3dWMMWUFACcPyKdoY4QdUrqmjE6gnfNleFQH/1cT4WVoT1XFMtAuQT Sgcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RNFSjOXl; 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 q55si2154542qtf.347.2019.10.17.07.41.42 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 07:41:42 -0700 (PDT) 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=RNFSjOXl; 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]:49526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL6yD-0002bf-Fg for patch@linaro.org; Thu, 17 Oct 2019 10:41:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37626) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL5wF-00063L-77 for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL5wD-0004X9-3J for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:35:34 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:35842) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL5wB-0004Sl-0N for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:35:33 -0400 Received: by mail-wr1-x443.google.com with SMTP id w18so1831167wrt.3 for ; Thu, 17 Oct 2019 06:35:30 -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=O//gTJ1ccAn0kLqEOJo6VegQQGC/e2rAI1ZBzD10O1k=; b=RNFSjOXl9v9bTA5OvDtJOyOS8h2aXGXrde9DC+4IxO9k8VgdrdfC3yt7Qg6g+Avtv2 iFcF2M0K9hSplqXK7iYFixgYZ3lIle6StsO4T8vJy7aGSEaY5k2nQSy7QrKHDT0jZ3mb Qihi8RC0OKMLjhf4M4yqr+B9osx43RqgGM9tufDgpw1MkSWAwiMsc5SsLXbLQ5nqa49L r4LJmGNrJadYLEz91liA50zMotyA5fbUIMqRfBjiyLJ64EFj7Bh+N3kj+y3SXLD7y3J1 dcfP6qNjln5p4jMwZX7TmVRxT7dLihDDJnIz5XON2Q5CC4AqLmt4sws3yhnPD6IF0SOx 26tw== 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=O//gTJ1ccAn0kLqEOJo6VegQQGC/e2rAI1ZBzD10O1k=; b=CkYlENzLXNe66sxCFBw/1x6hCAEZgjApszHfwhWM/QkWXCzcbiyMSwd7kPSWueVrdQ pX1KW2ZFYLnLn3IyVsPdRFR2WseUx3dUk7x0nQSVa+3YUqRorgAxALCV1dJf2vqFJvnx +sZ7slqe1/EK8klSwCGQwxX8fW+3t8bCbI0O/Lkpq4Msa4iRFILXDGbBV0cjlFMNnyXf he+kIQIquT4GbplezWsiRyA5V6+DckQn8P9OCfx3Neb4q8holL0/doNWFwzbBBpuV7mz VyjAXcmwRzj8XFKNC21sj+fMAEmkSSzxgZvDGi0baxUEyu34TcKbVquQTLrhnZacI1c1 fzWQ== X-Gm-Message-State: APjAAAUBaW2457qBZy4ekmAH5Yk0VoCd+9fYGQhmQZLQDSVXlPQtGl9x zJIgoGdyFz7P4oe7C/QNRoJgyA== X-Received: by 2002:a5d:4588:: with SMTP id p8mr3079161wrq.180.1571319329410; Thu, 17 Oct 2019 06:35:29 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g11sm2227301wmh.45.2019.10.17.06.35.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 06:35:25 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C97401FFC9; Thu, 17 Oct 2019 14:16:20 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v6 52/54] include/exec: wrap cpu_ldst.h in CONFIG_TCG Date: Thu, 17 Oct 2019 14:16:13 +0100 Message-Id: <20191017131615.19660-53-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191017131615.19660-1-alex.bennee@linaro.org> References: <20191017131615.19660-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: robert.foley@futurewei.com, Richard Henderson , peter.puhov@futurewei.com, aaron@os.amperecomputing.com, cota@braap.org, Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This gets around a build problem with --disable-tcg. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson --- include/exec/exec-all.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index eadcf29d0c..d85e610e85 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -22,7 +22,9 @@ #include "cpu.h" #include "exec/tb-context.h" +#ifdef CONFIG_TCG #include "exec/cpu_ldst.h" +#endif #include "sysemu/cpus.h" /* allow to see translation results - the slowdown should be negligible, so we leave it */