From patchwork Wed Jul 31 16:07:18 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: 170154 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp4222651ile; Wed, 31 Jul 2019 09:16:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTZ1xFb3t/BADUt/+39v9FZDxUUQ9y0RxM1Qd6v+jf4igjJOY+jYTJzTmXc3dwRqQjC62N X-Received: by 2002:a0c:887c:: with SMTP id 57mr86119483qvm.192.1564589793306; Wed, 31 Jul 2019 09:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564589793; cv=none; d=google.com; s=arc-20160816; b=a1QCgizRLTJFhbprjLdGJtVAi/rCq9fRVkffKlz/2IRG89/rj6GNhPlX7OoxxShQ66 d5AQxLSujbBCqZFnw+liFEFLsEmdY9Hb0QNQJL470Li95NT3plhaxnlku8rb/c94DeCV tu8bR/Fjj96Tn2WbuUVrzntx76jCHfYpfeXJXu5IaVRgMxCn/IT9DbVSR/RIU7cqRjn4 q0MEZURkLR56tNklCjAb8dpBO+yRg3/Pb2GXDrE5pwUv/yYbQW51+HAJ1m6CQLCcaV0I ZE+Wpe9l/RvCV+BKt7NN4LGHg0Fue1BUM79u4gDJmL1QfHJHPyNr+Hci7ZeykXEX3c4g RjMg== 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; bh=hRMRp/kI4c6YkREQzYFhfvajgB0U5gRdKHztblUpjFI=; b=ydNT9deB/yVOiWRrQdT58HB9y3Qd6Q/NJL3Vx1WPmrOhLSKRuALPxZnbuZvTbvl9do YjKHi+lP6crEBRTA2K0OYNN6KdrAd3QJDOlmPRxS9RkXVZxbi8TRLqndu4LematfvW/6 6NUU/pHOLjv0X5qAmyi0/TIgQkYtIHQTQP6epC/4FQWWhFPFbFPzTcjiRY7CvbMTYu5W 4yBBMENYw6NRveRlQI6HZMhQfxLm5YWaC/ejGqdf5uZYDWKTfIuQuizIwBPu4uDgAtu+ Q7uPeKvONc6bil9nt9v0b1gNcpWerDVQDF7DA1KboI2AIa1dbCy1uLGdWJtuwhlzMFBC AiRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=j2Y3K20S; 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 d4si24890639qte.303.2019.07.31.09.16.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jul 2019 09:16:33 -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=j2Y3K20S; 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]:42436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrHE-00070k-Tr for patch@linaro.org; Wed, 31 Jul 2019 12:16:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42320) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrG5-0005pF-NN for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:15:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsrG1-00047A-PY for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:15:19 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:36709) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsrFz-00045h-RA for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:15:17 -0400 Received: by mail-wr1-x444.google.com with SMTP id n4so70412745wrs.3 for ; Wed, 31 Jul 2019 09:15:15 -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=hRMRp/kI4c6YkREQzYFhfvajgB0U5gRdKHztblUpjFI=; b=j2Y3K20SDQD+/el2Zi3u3VV+45SKWz+Eel35LKG+Am/PqcOqxfhtKH5492aI24/bzj har7/X4PRmRUFNPIs2d2S+y4PfO5xrb9Y6LkvaTllYZShHH6l5Z3nQ4+2SvVWIS45TzG /gA0f7IXU9m96Ll1qCWHbWGdQyeaqosA2Ojjm0huVBehynvhHN+ke33Quxoa71KnqXCr pg+ZhawYUURQjGGUhbCu10fwZLNrXbsa5WYe38GkR4f2hFipvhImgm0o7HUZmxCqr32a WkMIz+pchCp2fKWG0RBO/AoF0uJL1OljncOF6c2a53c+rrmBTwSDiKiL117hwDVsQkHz 6PKg== 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=hRMRp/kI4c6YkREQzYFhfvajgB0U5gRdKHztblUpjFI=; b=omi4u989LhcGafDQvDWcn9L8EtmPRTnvoLU3Aqn5AR+dwQJy4nXhVCLlFEMxNga936 PkwlIL3Xvb+3qHfcg/w0ro9Vow5BQxFa73+hoGj9465zOdM1hQ2qK7z2Sd8gzd4xNnmX EXW3Q2f/ElcTDyPChS4DqHx5EmeYue43e8e67EgjM5QnzV95ux0Ok+0qLUYiR4homMSU CeJ9rC+gIBtoM/jRUSPRpyyYNEXZpMVeXCwEyKe5fUz7SjO0sChqkvlC9QMu3miDRiSP WAWFHFIa5XLV1dUGpuuOpDyYZWazWU8lA93mf9++Etx30o6H0ZoyrvutgiErAnNj6+DT 6GzQ== X-Gm-Message-State: APjAAAWW7E7cFQJwm0Sgs2nbGftMcrsVqyTQ09760dgGC1eVQkMLAKtx GYE8FCQrLJbdmi4XWtnhyVTu6Q== X-Received: by 2002:a05:6000:42:: with SMTP id k2mr14230044wrx.80.1564589714403; Wed, 31 Jul 2019 09:15:14 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g19sm79297294wmg.10.2019.07.31.09.15.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 09:15:13 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 594F31FFCA; Wed, 31 Jul 2019 17:07:24 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 17:07:18 +0100 Message-Id: <20190731160719.11396-54-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190731160719.11396-1-alex.bennee@linaro.org> References: <20190731160719.11396-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::444 Subject: [Qemu-devel] [PATCH v4 53/54] include/exec: wrap cpu_ldst.h in CONFIG_TCG 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: aaron@os.amperecomputing.com, cota@braap.org, Paolo Bonzini , bobby.prani@gmail.com, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , 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 --- include/exec/exec-all.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 Reviewed-by: Richard Henderson diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index c42626e35b1..e6b9b460c81 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -21,7 +21,9 @@ #define EXEC_ALL_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 */