From patchwork Tue Oct 22 01:30:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 837534 Delivered-To: patch@linaro.org Received: by 2002:a5d:50c9:0:b0:37d:45d0:187 with SMTP id f9csp2312597wrt; Mon, 21 Oct 2024 18:31:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXGK2TKNIqwcO03vHRN3Lwp6TgYdSv+CK+bcqCWQhYQe9rFr7uR2uYseupx+X74va0IlymvEQ==@linaro.org X-Google-Smtp-Source: AGHT+IFgUmnlkyFTOdXh4tLe+DdQ1J/CMUeeeMOYTmrUbiz+wmhlM3qruGg38Z/+g/m9C1MH8EhD X-Received: by 2002:a05:6214:33c1:b0:6cb:c54c:b782 with SMTP id 6a1803df08f44-6cde15dedc9mr132990256d6.32.1729560717766; Mon, 21 Oct 2024 18:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1729560717; cv=none; d=google.com; s=arc-20240605; b=BX2iJHcds6incZVbteZDKsDeWzLYlW8Eq+tbcTlSm4L5TsXGKW0mVdyytgmEStGcwV XjfAlbPNYgW6lmSdmoVsRQ6oE1AG+nOXYPGOY+Hs8J39P7kaiKxSG7NhNmF/PSqUKeH4 oQIKSbf+1bDe9qbc5CvOzz+7dfTJcbslBIRB4R32LVcEGchxbKCWzdFjcRHm6umhhXUE vWfHUa74O6/IxUWE4EaEoq94wRMbQKsGvXGgI5tAU2BXNyMKtooYtKLiKj2BCwjqSv6t hdYcH4ugf0GQ9DzZ7b4itgZsp/f25ZPAwPLMOfrXbBVF2FaBjwYzwRfzzsI7/vsVMp8e N4Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=fTpbQNQsiNuoNwZcxTtelnwqavecyaXodDgMGiTIYRI=; fh=lSjE6Wiqd/Yk0jZIIyF0NZCJHV7Sdo9nd65rbDlF5Q0=; b=QgGMnmESrrggZR4bAAijHB02ZZszVgEJqdaO4xNtrL7McdnFjFWiRgzmVhd/pT2RtZ 5WMDLJSAYzSahrHPNQDUKgYJ4r5wOHwoBTp5wwcuwYw613U4tT2mXQzzQdsXICuC66JZ 5eHlFLsa5avTtIc1BS7Ahw/gaAhUlG1pqcuhO5UY6kFksvwsaSYJNrbrz0x1Bhl6mq34 v1ttW3eJEmXBwppjaBZaGRyRv1owd0deTppBXdVt7g9vUDWly8+m/yUrBZv6wRvV7DcP wejOCDyxsdaCq3hnsl1Db5MQOx4oc8w8bdfraY9EKtugA7WRSZb21W4pUba0kY0ZwSHo Tl1g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hP6+6nzN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6ce008f4e5csi52889526d6.126.2024.10.21.18.31.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Oct 2024 18:31:57 -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=pass header.i=@linaro.org header.s=google header.b=hP6+6nzN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t33jd-0001BQ-Pl; Mon, 21 Oct 2024 21:30:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t33jY-0001Az-QR for qemu-devel@nongnu.org; Mon, 21 Oct 2024 21:30:54 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t33jX-0005zu-51 for qemu-devel@nongnu.org; Mon, 21 Oct 2024 21:30:52 -0400 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7eae96e6624so1312121a12.2 for ; Mon, 21 Oct 2024 18:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729560648; x=1730165448; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fTpbQNQsiNuoNwZcxTtelnwqavecyaXodDgMGiTIYRI=; b=hP6+6nzNYlIO3lPLhoAok9FHGN8yn72SOpCiE+diDzwP3Jy4fyVK/MDHjFVZUTTKt+ juHXbj+ltGJyhh3aQvwha0bk4RjSll42oMYzwqLynhBFY6GkJNjG3jOY/9H9PRORFd0I Vv+c4WBtiPVotH9b/n0TdSz0v8okEulg5RPPcImRswOE1Raw3VObpz+XEBlrC8Fliezl iKX4Qy/qch0dBGqSDwJ19auLjeXyweozedi/0FxjwJSC9/EG0HFUzATQYZoDe8Ivampm XakLW4J38bv8IHnqFqtHQOj2AvYVNsLnILS3dzi6zOAjTY3U7nlSJUY/MH85d3VyJ/Fj XODg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729560648; x=1730165448; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fTpbQNQsiNuoNwZcxTtelnwqavecyaXodDgMGiTIYRI=; b=SFZeiMD0MwSZfLoGYgqt6omom2ioeV0G671JP19W57qwbOvH9ohIPDbgbsH45VFfcO 24G/cZSydLVuKMfFI4hD/slOG6nep7h56uqyT7JMsKahqWli+Z6VE7hEckZGzsxdJ88V kK5rq5WCpbaqJ2IPZKAMNJPej/mqRiXXQwhDGRWl5HJD3sAT1mpd/auzA92Lo1Eu953/ cyCf0tc/GDwQYBbhzRKXp/ObcLm5RW01oHiCcP18xCvYy11fhTe4mphIgrVXd9S0F/xZ Sy1H+b7tM6k9y1+FdPGhxCHKUd8vOyv20iQWsYO3zGQhAVt2BwY7j5Nqgpbpme73izgh +krg== X-Gm-Message-State: AOJu0YywW43fzwoNqjMfXB4xwdNbV9gMTLQaWVqkXieyzbKQMOTGFt0Y Z9cQuEjLVZ/to1xZcvgC0SR1M/Q3nYK/9V3MgWzfbzCLHrnPl11+Zlg8yL0HGOUbmDKcvNt8zk7 Q X-Received: by 2002:a05:6a21:a4c1:b0:1d8:f1f4:f4ee with SMTP id adf61e73a8af0-1d92c4baaaemr19261549637.8.1729560648521; Mon, 21 Oct 2024 18:30:48 -0700 (PDT) Received: from stoup.. (174-21-81-121.tukw.qwest.net. [174.21.81.121]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e5ad365d1fsm4728338a91.16.2024.10.21.18.30.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 18:30:48 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: gustavo.romero@linaro.org Subject: [PATCH] disas: Fix build against Capstone v6 (again) Date: Mon, 21 Oct 2024 18:30:47 -0700 Message-ID: <20241022013047.830273-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Like 9971cbac2f3, which set CAPSTONE_AARCH64_COMPAT_HEADER, also set CAPSTONE_SYSTEMZ_COMPAT_HEADER. Fixes the build against capstone v6-alpha. Signed-off-by: Richard Henderson Reviewed-by: Gustavo Romero --- include/disas/capstone.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/disas/capstone.h b/include/disas/capstone.h index a11985151d..c43033f7f6 100644 --- a/include/disas/capstone.h +++ b/include/disas/capstone.h @@ -4,6 +4,7 @@ #ifdef CONFIG_CAPSTONE #define CAPSTONE_AARCH64_COMPAT_HEADER +#define CAPSTONE_SYSTEMZ_COMPAT_HEADER #include #else