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: 11068625 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1890C1395 for ; Wed, 31 Jul 2019 16:16:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0526F1FFDB for ; Wed, 31 Jul 2019 16:16:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED093200CB; Wed, 31 Jul 2019 16:16:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9456D1FFDB for ; Wed, 31 Jul 2019 16:16:38 +0000 (UTC) Received: from localhost ([::1]:42450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrHJ-0000FJ-Tx for patchwork-qemu-devel@patchwork.kernel.org; Wed, 31 Jul 2019 12:16:37 -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-Google-Smtp-Source: APXvYqzhiljH59Xbyu6AsqatCyuXim7vcES7HuHQvwoNYB8jLxmb6hQi0Yn64kKMX6dgdkPVuSnqpw== 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_?= =?utf-8?q?Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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 */