Message ID | 20231211212003.21686-9-philmd@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1546621wrs; Mon, 11 Dec 2023 13:21:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFtDRvqp7fT2OcWeSLBAHKV4vCBPOadLHDtjh9wQfqG2HnoM1w3V+keJ7HK3dLqKVo3Z5Wv X-Received: by 2002:a05:6808:11c8:b0:3ba:3c4:2630 with SMTP id p8-20020a05680811c800b003ba03c42630mr3664110oiv.113.1702329717497; Mon, 11 Dec 2023 13:21:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702329717; cv=none; d=google.com; s=arc-20160816; b=SOrX6u5wTEwPUt3UOrU+vjLOZVFMcCUe4lU/zoeX6Z4KmSSUxrzFqpDVKW1wdPD5Lp 3p6WCaZhiMV3B1YPwG3P2j10RqjS3tW+Lu9YRRCzmhH/feGlxzVQZG9WaPR3B6RDTHDJ TPWp/P0hA8m9cjRfERddVgXYc6gbwcsX234KBpqp8G+qD6igO2yr+xn/uoyjQ1QK+gp7 Vjn9T+A5mD2i/J7rnqiySo8c1O/gGKl81i2iy7lOHpbiJr4cuD13nddTxUurApEyqZDu taGLEncOxmcNQ1lhGfhquXaJeHLReOaQCyZkXXU1PU4r0VQ/TebP4IFXSzVcyx7U9NH7 PENQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=bTgCkgY7q586A21zu0JSDs5UTTpVyxNoAlIlHHAmSdk=; fh=6uA3yvXeN55FEhLQ+7xhayEyGzy+Y3z2qOYV5oRrcR8=; b=H2oQOL9llbvUksV5SG5fmsPenlEBFW6soeYnm+vf0wBT2Ucc3ABUXMzXtsSItOPxjx DWUB+8xgVQ0Ag665Pn37eRdhI7UTOC7krstHlz1E96foiceVVPKynVvD3X02UBLMwW5O 0IhmHpsA+s/OB0eRgTICb0OVXsJdW+ZQH0bcErJsGFsEUtkvt4QvIYe31ssTHXRyNPqd E77qDbieLsWXGvd766BnjsHIuMlTUBMoMO2j5+YYbnkV4MHQthmBZt+tjlAso4CERs9+ E3dz3RzXxizuEQeYID5WysSVSbcXQpQILMA65JoQCZjWQjktv4PdXKH71qE7Rri5eufn dTWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TFOOUYjN; 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 Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bq12-20020a05620a468c00b00773ea7b80b9si9424183qkb.676.2023.12.11.13.21.57 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Dec 2023 13:21:57 -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=TFOOUYjN; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1rCniP-0001jJ-Mb; Mon, 11 Dec 2023 16:21:25 -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 <philmd@linaro.org>) id 1rCniL-0001Pd-JW for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:21:23 -0500 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1rCniJ-0005Vi-Ex for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:21:21 -0500 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a22deb95d21so42221966b.3 for <qemu-devel@nongnu.org>; Mon, 11 Dec 2023 13:21:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702329677; x=1702934477; 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=bTgCkgY7q586A21zu0JSDs5UTTpVyxNoAlIlHHAmSdk=; b=TFOOUYjN78GL+LGHhaxOShD1D6B3VHtjt19UEUabJdYdDe+FABS2z2c49Kubc0aJZM +XeCyNXMGrcmW8T2akELE2WQz8R+SQKxPn7s9N7IHgACW9We52O3fk64pIwqsMM0bZRL Zi7DezW4rsTqQNj66POZs/C9mPRo2r4Be0YOIsbpa1/4mqYXdB9l66izTXeg6jFzRDhq yOUZum7T4HiG6ce4kKp3P2ZnuPOLK4UruFBVoR5Aoz1z181Vq8GbRPbBldWV9KA75gPN 427i5oFhSUxOvCelOulwZAiT7BhZTJPttFOCQFVcBE9uIrratD4eg/WvlyId8WyVhUpe 33qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702329677; x=1702934477; 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=bTgCkgY7q586A21zu0JSDs5UTTpVyxNoAlIlHHAmSdk=; b=gmhuw8k45Q5XvgV83tTn0uV5nw7TZHXiTkQjJx+9Bs5VPzH4CzniL+qYjE7BsYAYIe fq4iBenjIJH/peidB3rxuGiKKbT2NRW119cMoWxvrHKUgk7cQJOuB3R+5/NtM2zqEyK3 gPVlQLejiXBlhN0hVNVd13RLlvJ91pcFJ+QDg+HuuJBV/wV6WmQtleo+bquvdnmZVjXh I5cmbOYyX708QuB74GI/M1QKe9Ez+vjmlNC6pd16qVSQ4P7HyY9I3auiO9iWrtqYSsZJ yIUC3mFCk9Fu2Ca8anYFj2POJdYHMv7jbNedFiqmJle8EMlh8GvOI18NmoYdrinzo62L Uusg== X-Gm-Message-State: AOJu0Yx1YAigZkeAaxnuNqEPVWMdiNHlpGPXN8suLbW2WKasCklgSQB3 dNEsnGIvv6atsXKNX6KRZM80nYVC6UsURKUPbcS0xQ== X-Received: by 2002:a17:906:738b:b0:a1f:84ea:d8da with SMTP id f11-20020a170906738b00b00a1f84ead8damr2472617ejl.45.1702329677390; Mon, 11 Dec 2023 13:21:17 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id tk3-20020a170907c28300b00a1cd54ec021sm5361923ejc.57.2023.12.11.13.21.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 11 Dec 2023 13:21:17 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Ilya Leoshkevich <iii@linux.ibm.com>, Peter Xu <peterx@redhat.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Peter Maydell <peter.maydell@linaro.org>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Eduardo Habkost <eduardo@habkost.net>, qemu-arm@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>, qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com>, qemu-riscv@nongnu.org, David Hildenbrand <david@redhat.com>, Warner Losh <imp@bsdimp.com>, Claudio Fontana <cfontana@suse.de>, Brian Cain <bcain@quicinc.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, Thomas Huth <thuth@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 08/24] host/atomic128: Include missing 'qemu/atomic.h' header Date: Mon, 11 Dec 2023 22:19:45 +0100 Message-ID: <20231211212003.21686-9-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231211212003.21686-1-philmd@linaro.org> References: <20231211212003.21686-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=philmd@linaro.org; helo=mail-ej1-x631.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, T_SCC_BODY_TEXT_LINE=-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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
exec: Rework of various headers (user focused)
|
expand
|
diff --git a/host/include/generic/host/atomic128-cas.h b/host/include/generic/host/atomic128-cas.h index 6b40cc2271..4824f14659 100644 --- a/host/include/generic/host/atomic128-cas.h +++ b/host/include/generic/host/atomic128-cas.h @@ -11,6 +11,8 @@ #ifndef HOST_ATOMIC128_CAS_H #define HOST_ATOMIC128_CAS_H +#include "qemu/atomic.h" + #if defined(CONFIG_ATOMIC128) static inline Int128 ATTRIBUTE_ATOMIC128_OPT atomic16_cmpxchg(Int128 *ptr, Int128 cmp, Int128 new) diff --git a/host/include/generic/host/atomic128-ldst.h b/host/include/generic/host/atomic128-ldst.h index 691e6a8531..12e4aca2da 100644 --- a/host/include/generic/host/atomic128-ldst.h +++ b/host/include/generic/host/atomic128-ldst.h @@ -11,6 +11,8 @@ #ifndef HOST_ATOMIC128_LDST_H #define HOST_ATOMIC128_LDST_H +#include "qemu/atomic.h" + #if defined(CONFIG_ATOMIC128) # define HAVE_ATOMIC128_RO 1 # define HAVE_ATOMIC128_RW 1
qatomic_cmpxchg__nocheck(), qatomic_read__nocheck(), qatomic_set__nocheck() are defined in "qemu/atomic.h". Include it in order to avoid: In file included from include/exec/helper-proto.h:10: In file included from include/exec/helper-proto-common.h:10: In file included from include/qemu/atomic128.h:61: In file included from host/include/aarch64/host/atomic128-cas.h:16: host/include/generic/host/atomic128-cas.h:23:11: error: call to undeclared function 'qatomic_cmpxchg__nocheck'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] r.i = qatomic_cmpxchg__nocheck(ptr_align, c.i, n.i); ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- host/include/generic/host/atomic128-cas.h | 2 ++ host/include/generic/host/atomic128-ldst.h | 2 ++ 2 files changed, 4 insertions(+)