From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60BBFEB64DB for ; Tue, 20 Jun 2023 11:00:14 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBZ5k-0002tM-Pt; Tue, 20 Jun 2023 07:00:08 -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 1qBZ5i-0002sn-7u for qemu-devel@nongnu.org; Tue, 20 Jun 2023 07:00:06 -0400 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBZ5g-0001BJ-Gx for qemu-devel@nongnu.org; Tue, 20 Jun 2023 07:00:05 -0400 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-985b04c46caso684275766b.0 for ; Tue, 20 Jun 2023 04:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687258802; x=1689850802; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=rPwfOjVOdCImrYsaEUnmT/xTvMWss0vrm9gkhzhzpMA=; b=YrgVBJ9ZjXSynGioBxS+M4jSKsldwyEG03uIx0WpAL9SU6UTI9nLxDgXNdaPSiVGtR kKKpCA00IOTFsD/IEWorJl1Ro5SaL3/IwBpJJZrgWAtL8yRc9uhfIOFY85EevglPR6tB 5RVlee+qbTNnAul5ucQK7OzXtjVDEpelCeq0KnjShBjvEH4vMW+6weyyl17eHQ4EesW/ /B7jfd9ya9eqM3iGl8XRSKTzLzKNgLCQ8fB6Fw9kIOYJOlJUxdhll4GZB6SGXTLmNVjH eqfpP1aHD4qYEgR4cxbrb31QkKovqvY0AbNTQbtxsOmQkf5+AunzW9MAvS+lBsMlIAe+ F7zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687258802; x=1689850802; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rPwfOjVOdCImrYsaEUnmT/xTvMWss0vrm9gkhzhzpMA=; b=Kat36GwDMxt8LIebxHtINbji741vAPGNiRtYy1Mtx94yAO8zBeFl1IT6KiStjyMlgP NJeZlnIryhL8NLxHWXJqQxBaJpWvjXm6+U31bXRWv+RKjnKfR+Zt6ThB8StpkcgDEsw+ Rwzy9Hhsk6GLlXCM54Ws/Bjl6raGJY5V5/8NFfdQZZLeA+xcB3wTM9nagyWukJfwz/BI VZAW4+I3Rw5kNDqFJlUqBn85qnqn8Jiy5V2Kji8NGEIDA99e8qSp6x1w43r7JAKce/hm waWWC3f0LBQ7UgM9Prdyn8XB+N0CKeFG4xjT4uu7XGcXSWDdenLNGP43HqrxlsaX2uxh 8juw== X-Gm-Message-State: AC+VfDwZxsoQMsfFXHC6NtaqMFhlYRW14UXM03Cx3nFRUSLznzYL6CiQ FCq/cib3+fIaHOSivPCHSSjpUw== X-Google-Smtp-Source: ACHHUZ5pmAcb7u16hmAMKluCEZtlUIGLXc5qb6VDYt7VHnVCQGjZa73DttTGN4lYKnQHjzMCJRkiEA== X-Received: by 2002:a17:907:36c2:b0:965:fb87:4215 with SMTP id bj2-20020a17090736c200b00965fb874215mr11539171ejc.15.1687258802319; Tue, 20 Jun 2023 04:00:02 -0700 (PDT) Received: from [192.168.69.129] ([176.176.183.29]) by smtp.gmail.com with ESMTPSA id n22-20020a170906b31600b00982c0ac984asm1176640ejz.176.2023.06.20.04.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Jun 2023 04:00:02 -0700 (PDT) Message-ID: Date: Tue, 20 Jun 2023 12:59:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] x86_64/atomic128-ldst.h: fix arch include guard Content-Language: en-US To: =?UTF-8?B?RnLDqWTDqXJpYyBQw6l0cm90?= , qemu-trivial@nongnu.org, qemu-devel@nongnu.org Cc: alex.bennee@linaro.org References: <20230620083918.9134-1-frederic.petrot@univ-grenoble-alpes.fr> From: Richard Henderson In-Reply-To: <20230620083918.9134-1-frederic.petrot@univ-grenoble-alpes.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=richard.henderson@linaro.org; helo=mail-ej1-x636.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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, NICE_REPLY_A=-0.09, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 6/20/23 10:39, Frédéric Pétrot wrote: > Fix arch name in the define that prevents multiple inclusions. > > Signed-off-by: Frédéric Pétrot > --- > host/include/x86_64/host/atomic128-ldst.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/host/include/x86_64/host/atomic128-ldst.h b/host/include/x86_64/host/atomic128-ldst.h > index adc9332f91..d0240d4212 100644 > --- a/host/include/x86_64/host/atomic128-ldst.h > +++ b/host/include/x86_64/host/atomic128-ldst.h > @@ -8,8 +8,8 @@ > * atomic primitive is meant to provide. > */ > > -#ifndef AARCH64_ATOMIC128_LDST_H > -#define AARCH64_ATOMIC128_LDST_H > +#ifndef X86_64_ATOMIC128_LDST_H > +#define X86_64_ATOMIC128_LDST_H > > #ifdef CONFIG_INT128_TYPE > #include "host/cpuinfo.h" > @@ -65,4 +65,4 @@ static inline void atomic16_set(Int128 *ptr, Int128 val) > #include "host/include/generic/host/atomic128-ldst.h" > #endif > > -#endif /* AARCH64_ATOMIC128_LDST_H */ > +#endif /* X86_64_ATOMIC128_LDST_H */ Actually, I recently merged a fix for this: 8a2bd747877. r~