From patchwork Tue Dec 17 14:13:26 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: 851416 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp374960wrq; Tue, 17 Dec 2024 06:14:32 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV66vUnkoEJloasE7a4NLPv/LWK1HdQ3OKt71kRPNo+ZUy6+3c1581NjvIuODxVJ1JQLLX5sA==@linaro.org X-Google-Smtp-Source: AGHT+IEO8+RenVfIpK1w+zwLPl+NaZoO+qOMgF56mRECO64+mCZ//2aCjTilBEi/inTku0ihoPEo X-Received: by 2002:a05:620a:bc8:b0:7b1:3c0e:3289 with SMTP id af79cd13be357-7b85960b48dmr442360485a.22.1734444872079; Tue, 17 Dec 2024 06:14:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734444872; cv=none; d=google.com; s=arc-20240605; b=WPlNsdCmJFuEOkxcxHujWRY35Fh9GNVG3HaH7csVbGp0sc0sxTvwhQAmjyFRf6jRuJ iK7tWFBE5akEmmfKlyf60pQhU0f8lCxYQcJzV3n1cEy2z+B5aUMc3p0mnBOz5pB+QuWq swAOLfYpbM0oNtGaOlVJM9Wuut6V50lyWkNsabJrpp5eJcOkAhD05cvxkwCRleDPI1lD 3I3kieacIMd548sH9/94HAF14Ab3A+daYAPdlXwMdI+gKcUztiYyIxWuWEt8YMR4mpth dFySbTIFZ0YuVeOJW29BEqqj2e4ylF24abgRQ/9Up8GRrqnuLEYMMSdWWjA1elr9dLXc x7WA== 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=34Qal1rB+yavNCgQtrTAwSRmPYHSJg4XL/LhxXnv9Ls=; fh=jTrlO22ar1seavFpVRc86Pt5CRud+hU0Y5hymOMvKB0=; b=c2nXO0fIMVIAgeaZ/yTFRGSNtlyIz36OvD3KdWRhlh2nPe6NT0uCc6GQSKcAuoiUx9 izyzXaeB/36+zcaThrwHCc7cLvQjQVvWzS/bB42kajagUKSjwWtp9mOCy0bR+WpG1uu/ ZxVm6C3/qXlUO1AJtpc3G/nHl4hSFGQ/x0YNnlwi+/wmxMwn3NuyCa86XSwF+uricX9j 88dQ4hNQFb7g3kenx8LaL8tIQYjphZ58yfn/1Hed8Io6lLUqGFKOYcWjrHkSdSPU/mh+ s6E0/3vkf/SUAaDfTkD6v8GgRVs0BemaKyrcn2cskhE+BG2Q6Mp1JvAvbWUyUNUbkPg0 wS0A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lDkEwf9k; 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-7b7047c4962si981380285a.106.2024.12.17.06.14.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Dec 2024 06:14:32 -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=lDkEwf9k; 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 1tNYL2-0000PW-SU; Tue, 17 Dec 2024 09:14:17 -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 1tNYKz-0000K7-PQ for qemu-devel@nongnu.org; Tue, 17 Dec 2024 09:14:14 -0500 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNYKn-00028r-Ci for qemu-devel@nongnu.org; Tue, 17 Dec 2024 09:14:08 -0500 Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2f13acbe29bso4155237a91.1 for ; Tue, 17 Dec 2024 06:14:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734444840; x=1735049640; 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=34Qal1rB+yavNCgQtrTAwSRmPYHSJg4XL/LhxXnv9Ls=; b=lDkEwf9kqg7LxNcde0GuyCMGIdGYi6L7wpH4L3BVQa73/PHBKzzrhoQTPwXIL5tSZ2 zfgDJnnQmlz2ngVBB5QeIR+A8739DN/Qw8mzOmbsyvaCOKSaJutrT4g+A9OIvmmefhTO lOiqx+EanPuD8LXCFRWTvMPvEuq9RZUuKuZSMfsgZmjj7F9icCOtehjFPn2L/jXt+XKh z5USDG3CJMjAooWkwNt52d3h3T/wsH0vP56Uw5j8NOTWtsd9rK1qFHgcavxLz6us0qPF FG9B0BSJ/Edvtjn9zx7DowITJBbX1gbsk78bsQnI8Tz8xxbDabuGAYC+ORXd6tQlVc6k lDZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734444840; x=1735049640; 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=34Qal1rB+yavNCgQtrTAwSRmPYHSJg4XL/LhxXnv9Ls=; b=pLgP6j3SMDkLDsGDNPIpkCjnu7ZRfdtng7dN/rst1TdSDHf+hOvfqAXL2QGgcor+0E SB0EEnB8PhIMy5pbbEYWFh3Snq2vi3MhuYag+D5oXgKyKmfl/yWzHY7ER82LjJOppjPl 72AIsTrGyX3RkORSd4QHkAn5ntucsO4PsEgpnmX4VvdCz6Am4XLVMZbOmcCPIR3PvZp6 F16MhLfnYhoiKFckLs9VfB6sw4D0G92cx1QM5YJTkLUL5F4CfUHThtNd2WtpzPWyJAHL Ukl3QBANPont/LNCduMDlmtfQbFAaVspO87QoNaPkKLtPgWZXtTcY0q7Y8UJmU8cYdga k6SQ== X-Gm-Message-State: AOJu0YxHXd1YNpSRYBDsW1qgz+YAdi/U7SOJ7a3xRpbPQUMjy95Js6yX sWQBMjHzXMJWHR41pWWR54SAGDnzK+9oX9tIuL5FbZ7Wt2UKhXRxP0W+ffV4ob81RTFE1qVz6fR f X-Gm-Gg: ASbGncv+0Y4QdLZJ1EhKS3EwJXS9qwBvV7Kcztao2Mc8Z3Z9U8/pncEzCPw4pGSvfF9 c1G+zKNAZHxBoeV473IeNt2TrSdRI7v/QHcNyXDuMsEg/Bh0KzSA3p3iExGEGNZGifNqNpX8JlW BgQg1XWNnK4QJ1bTaipN450I3lzyGfGoRyoshs8iAXX2y41+E7vrDMujm9iw5fYrtbq8syu5p6y vk+65ABRngPEJ/S3bO0RX4ixEBvBSWH3NnBfxpxv2hr+Kqp4oIyobsgim9RCaY4jHsHaEFkgYPs TXOR X-Received: by 2002:a17:90b:1b07:b0:2ef:cbcc:768b with SMTP id 98e67ed59e1d1-2f2d87bd428mr4913146a91.6.1734444839818; Tue, 17 Dec 2024 06:13:59 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f2a24349c0sm6640003a91.39.2024.12.17.06.13.55 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 17 Dec 2024 06:13:59 -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 2/2] qemu/coroutine: Include missing 'qemu/atomic.h' header Date: Tue, 17 Dec 2024 15:13:26 +0100 Message-ID: <20241217141326.98947-3-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::1031; envelope-from=philmd@linaro.org; helo=mail-pj1-x1031.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, T_SPF_TEMPERROR=0.01 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 Commit 944f3d5dd21 ("coroutine: Add qemu_co_mutex_assert_locked") added an inline method which uses qatomic_read(), itself declared in "qemu/atomic.h". Explicitly include it now to avoid issue when refactoring unrelated headers. Signed-off-by: Philippe Mathieu-Daudé --- include/qemu/coroutine.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/qemu/coroutine.h b/include/qemu/coroutine.h index ff3084538b8..e545bbf620f 100644 --- a/include/qemu/coroutine.h +++ b/include/qemu/coroutine.h @@ -16,6 +16,7 @@ #define QEMU_COROUTINE_H #include "qemu/coroutine-core.h" +#include "qemu/atomic.h" #include "qemu/queue.h" #include "qemu/timer.h"