From patchwork Mon Oct 14 10:49:43 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: 176163 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4361779ill; Mon, 14 Oct 2019 04:11:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1Fm0A7nnd7VlOP+4XSaXf5wmJew5DxC/5fq0OzYPsJmGulwuYcVQNU8U8qILIx8DX9BcB X-Received: by 2002:ac8:363c:: with SMTP id m57mr31768417qtb.290.1571051480391; Mon, 14 Oct 2019 04:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571051480; cv=none; d=google.com; s=arc-20160816; b=iFdyuub4GflGzckbdCc8qAlf6xYLkRm6ev1phNacJ5R+4tnsZw67er28oyJ7tZUziQ 8pEzLat3LzlXfIJ+pdDbYy6GnqZjVxlBA11qQ2CkZibbChRZ3CEfbZpJvPJar5aU/Fsh iVkFtuN6QqaZueO43XzfJAKnhj8LZrPVpUs8p2EiJbu/uCxpXmhoLc+YZnE3Uc/pDfC5 ajkfrlBuy0wjbiPL1GVjCbWs+IHD9lPQEvCXVUqQaZrj9FS2Yz4X/LnvrEVNe36PetnS PC4P+cv7TgJzpf+vUkl9cMWDhSnTApy+K/kPGidQhYeH0ULhe4tRxBeTWfQ+bmhyUOVE MIUw== 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=bN4XmGTG9/FatEh/7FtZa/B9CvFqCRZ6R/2X2ZutnFU=; b=uhrcF05D0jaZQU8ZLlqO+HIV8eRw88peP9w8xK/d8xwrNQnD/y13FAqxG/JWxPWPUr 0dtgejA1KZkhIxBZIUpV3bNSu9m/pmRtaNHhhzGocZ/EPmP+kqWZ8+e9QMVnhEcD4OYo QSo8DzId9BtEl+nS8cEgQQ+zmLs+GZ0o9itqRD4YWZHZ9suM67FOqzildSChdFzOKfGM MNrEfJrqKj/lctEsMGbM+OpZUAmjQDUE1y1p92pv6VRiMrKHC4+wtqPAVigyrVx3SrFD 3udMxk2vm88H95LGGfRJz8DG5bl9i8ybzLtj84dTadCgxdJj+MxpcdfcyQE9p+F+5HQA p+0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bjm7HNau; 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 v37si17226927qvc.178.2019.10.14.04.11.20 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Oct 2019 04:11:20 -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=bjm7HNau; 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]:47474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJyFz-00044d-Bx for patch@linaro.org; Mon, 14 Oct 2019 07:11:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44694) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJxvU-0007XH-MH for qemu-devel@nongnu.org; Mon, 14 Oct 2019 06:50:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJxvT-0006Hm-E5 for qemu-devel@nongnu.org; Mon, 14 Oct 2019 06:50:08 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:50315) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJxvT-0006GK-7v for qemu-devel@nongnu.org; Mon, 14 Oct 2019 06:50:07 -0400 Received: by mail-wm1-x343.google.com with SMTP id 5so16761805wmg.0 for ; Mon, 14 Oct 2019 03:50:07 -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=bN4XmGTG9/FatEh/7FtZa/B9CvFqCRZ6R/2X2ZutnFU=; b=bjm7HNaujfIiQwunUt3Oir/dBUL78Uo1Fh7DuPuLOMBoUNax9PKvxw0PU/STqGvvaI gjct/iBy2Z8XQ63InA2K+iYUOk4jiVf46oC4mxEDgP7u4vnp89GJ4VrIyqWaLVwgSVk5 UOvXb6gRJfQPAU/H9a9RHsCsDenU0jA2kSqCDbvycij+ek/PMYgaIFk+ebkI6diLe6xL 9aOighsAaFOBGWtnWPjPGMTs4+T/xVBGCeajQVIvg+xDpavrSe/B23gMMumjAmr1LzgZ AetesW3SU3XbUSgwNSZLo2BPScPx7CIuuyYYLQm6HBZLTGIwzqTy4vwsxeYmEIYhIhag oD1A== 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=bN4XmGTG9/FatEh/7FtZa/B9CvFqCRZ6R/2X2ZutnFU=; b=eA+k5U3m51UfonygSCHeRQ49IdCqhnjnom4AlvUfkKhtzTCUTn5yR26NBOUPDbw5ow Tbailo0kzEp7NcX0Jv9fzh/RzCi65Ry8blMhNq/k9C0tEtVczUaXUG/y8oE2WCde3d7a BjEoeDqmmU5Lc4n66Rrnn0FEOrFITlq+KU9Chd+CzgPOX7IiSbwx01DqtQXcq3cQbDE9 lhUS5Hhf2QCjQ/LXencIs5QGM4Y8frG8NclyBuEAPSRjf9ofq0wV5e776tDCq0NjRNyH pAZzHlx7fkgCcDMaoAHahePMEUBFAAE8xwKw4V9oHNhRqeoyNhETxujHJUqrGc9OPzLf CeSg== X-Gm-Message-State: APjAAAVw+/pdHzLgmTVTSrrVwOGhiIUvuCcMZZS5hXAs/qI9xTrkp97P 2BZVP6kLDKq2PbS4jrqDNORJnSFGP/o= X-Received: by 2002:a1c:5f09:: with SMTP id t9mr15395842wmb.124.1571050206167; Mon, 14 Oct 2019 03:50:06 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b7sm19111097wrx.56.2019.10.14.03.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 03:50:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1BCA91FFD6; Mon, 14 Oct 2019 11:50:00 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v5 50/55] include/exec: wrap cpu_ldst.h in CONFIG_TCG Date: Mon, 14 Oct 2019 11:49:43 +0100 Message-Id: <20191014104948.4291-51-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191014104948.4291-1-alex.bennee@linaro.org> References: <20191014104948.4291-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::343 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 47a071fee0..e74cf980e9 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 */