From patchwork Tue Dec 17 14:13:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 851414 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp374858wrq; Tue, 17 Dec 2024 06:14:19 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVHHZNc/4OmRrj/J6Ufg2ae9d0xW3L0B0xQBQVAfiMDYeE5kCBq80X8Y/kI7yV2+eSe5XvGww==@linaro.org X-Google-Smtp-Source: AGHT+IHYQxHv1dvM1na6V9cahPI1nar+UtPKuBlS+uIA+3eAFC7SGza//esf9PCPuS9ehx6dYCWF X-Received: by 2002:a05:620a:260b:b0:7b6:6826:2032 with SMTP id af79cd13be357-7b6fbf3d06emr2822719085a.47.1734444859001; Tue, 17 Dec 2024 06:14:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734444858; cv=none; d=google.com; s=arc-20240605; b=aqrGi22wU/ih8Au+hAC6cx5/L7kNIf4rPF5RuFU0Oo1qIpL8Y4TjIb6EwJ+Qmh+rVd IVP+oP7uQRdfgL6ZoD94340NlYMztgmyPxhxZFFYV6cjCypp+syOfuqm1zj/yj3hS/KH lwDxHlHGxooK8l+MybLqCBK7oUvXnyGUsXk2l9Q0cr1l37/EE+u0UUVDaLbmpwTqiYbU 9HZ835q6PWw8h5H+85iAu3//sqGgBIHZgB/PwlFsgoElDAuriS+TyuI06puaD1anIaBf AMoIpG4LhjKHvMag6sjGD5Z7EvbzBWnvxD9DYC8NZYRiUURyq4IiWUYDt2moRyghUCT+ M45g== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+AInIhe3xWLXuYtEN1l+ucfFt841V2nbagQTKyY3VfE=; fh=jTrlO22ar1seavFpVRc86Pt5CRud+hU0Y5hymOMvKB0=; b=UAwTVnkSCPVKtJD7J30ImUgwQE++gU+qAK394pZ2zT3nzmldiyvZeMaFh09X0bz7As gQIUdzgmS2uEypydiJEJQtE5SIZgyDmIw9pHWWWRS8iejNZrIq1biF08az8h73XRjBdZ xLOR59q73rE1bNVbCc8cRQdKYtxUsTt4MTLr6nwUYotW4CFNNm34jixlo/D91RAelrVm BNJN47a4mGUmYlUDUwSWwHLCSBgswOi+epj3GR3CHSXVGKnoobom0DetJIYg5NhHSDvE ts/uFJwEPCQi3L4dZALU13NnjxBSxyHuTEO/sAEDidKX9mWhwdshbnWAime8gEPK6yJw lJ0A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BmrA7PGA; 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 af79cd13be357-7b7048d385dsi1014356385a.457.2024.12.17.06.14.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Dec 2024 06:14:18 -0800 (PST) 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=BmrA7PGA; 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 1tNYKo-0000DA-4o; Tue, 17 Dec 2024 09:14:02 -0500 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 1tNYKe-00005t-FA for qemu-devel@nongnu.org; Tue, 17 Dec 2024 09:13:52 -0500 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNYKa-000274-Qj for qemu-devel@nongnu.org; Tue, 17 Dec 2024 09:13:50 -0500 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-7265c18d79bso5696989b3a.3 for ; Tue, 17 Dec 2024 06:13:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734444827; x=1735049627; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+AInIhe3xWLXuYtEN1l+ucfFt841V2nbagQTKyY3VfE=; b=BmrA7PGAFMzQ8462QW/Lx7HKiQf00HqY7Ei8IWDnoz3SzmGX4o0iJAytVpxFXTEYiv +UUS5jcNAu9bXjyhJAMU+b9Ci7dljIRnJI8+IYZPJs1H0PKA21BisjQ/eBtbFcNoB5Fj N09zcxDWURgwCgaavNmNZ38ruN5N1nuqu27dazj4RFtyOK5+MS0ZXUkjlC9KDJVSsIgy TnaEUn8cZNq8rrm2Efz0nSCZ0QijnlotBbgqaj9HrWCPvYtWVFvcqao4MYE0YSrGnYWx 0oMa/RQMdTdmGA89dWlz2uYWoOOOdzv+ao1MswcbRSazfIgVsI3v8FOr+nI4wT9IU2eb 1Qgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734444827; x=1735049627; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+AInIhe3xWLXuYtEN1l+ucfFt841V2nbagQTKyY3VfE=; b=lRJ2/EDK/UrCJhL88rcfi9ng4y4VHsn6CVhdUB5/cw5CL36RcPpqhC6nIvF8AsSZOc GgiHf5jEST2QSHPQiXU0hs2ZDGsLxOPKrfHpF390P5XonWsvYiUFGBnKweBPmzKIOXJy JoxP1GmlW1/6qDDFKFYzLq3D0Wno4vV19pEqOe+/fD72UTjLfXRELyXqQ0JjjeuW06hl voN2Q9bz8AV5sgN8ngEepIvueEfl0VR2CR366VgWmsTleUYClzAwNUfUOZyLOICG2rWB X8+GYeAg6RiEB4GPmrs+2beUvyKsOWSP0LKPQ28VSrzpQfgsgWvJNPrVUcQudS9McK1c PUmQ== X-Gm-Message-State: AOJu0Yyfy6DJ05JHaaGHYZcQ1XnyM/TMFpu1go7Q+Mr+WlwzB+d8oO/r Rb/TMvy9niLtNdUIOV3qI9T9ECpVPBz8/rMiiJdAruZibhCiDT7SwXfLzHz0xLILv8rt+FY6x1A 0 X-Gm-Gg: ASbGncscJQNjqvF5zZhvHIfQqUauulMo6WovssjIf3qpVmKpC8oE8b1HWug6BD0531k sp+0FH3sqxNv1j+w1Y9IV8a5Ucm/THiow6A41lwzv6T11D//gvvWSid07hTvslD9vBsUqVIQxdF l3cLrM3zVuHWsaq+Q9Emw+0UOqRZ0ZjpUIkuVwje4CnhnFtoCNvck+dqOOkycMm4dpWlvGLZSXd J9GTdkopde8fXAo7KTmo5fnHTyOEUa0d6cQwoB/P1KPaSJtMQTTFvjEFKfvJEBBG34GjFJ3AjRe KM7f X-Received: by 2002:a05:6a20:2d14:b0:1e1:f5a:db33 with SMTP id adf61e73a8af0-1e1dfdda9edmr23047208637.36.1734444827298; Tue, 17 Dec 2024 06:13:47 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-801d5c3ded0sm5838893a12.83.2024.12.17.06.13.43 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 17 Dec 2024 06:13:46 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Richard Henderson , Stefan Hajnoczi , Kevin Wolf , Ilya Leoshkevich , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 1/2] exec/translation-block: Include missing 'qemu/atomic.h' header Date: Tue, 17 Dec 2024 15:13:25 +0100 Message-ID: <20241217141326.98947-2-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241217141326.98947-1-philmd@linaro.org> References: <20241217141326.98947-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-pf1-x42e.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=unavailable 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 When moving tb_cflags() in commit 88d4b5138a8 ("tcg: Make tb_cflags() usable from target-agnostic code") we forgot to include "qemu/atomic.h", which declares qatomic_read(). Explicitly include it now to avoid issue when refactoring unrelated headers. Signed-off-by: Philippe Mathieu-Daudé --- include/exec/translation-block.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/exec/translation-block.h b/include/exec/translation-block.h index b99afb00779..81299b7bdb5 100644 --- a/include/exec/translation-block.h +++ b/include/exec/translation-block.h @@ -7,6 +7,7 @@ #ifndef EXEC_TRANSLATION_BLOCK_H #define EXEC_TRANSLATION_BLOCK_H +#include "qemu/atomic.h" #include "qemu/thread.h" #include "exec/cpu-common.h" #include "exec/vaddr.h"