From patchwork Thu Apr 18 16:09:42 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: 789789 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp647717wrm; Thu, 18 Apr 2024 09:10:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXbNjyqIvd8t5bF0GS4AmGsG7PghdAQ09xnpnM8BGggR3Q3xadJocnCUdExdOSnNIHbb2eGZJ41kk4yLgo3BOV8 X-Google-Smtp-Source: AGHT+IGN5FgMtgO/bnxSXsGnLOA2Ab3yxzyV4SyIBB2npaZNXjz/jqM6+VgHPAtz+5GHuW6bp4ZV X-Received: by 2002:a05:6808:290f:b0:3c7:f30:ed0f with SMTP id ev15-20020a056808290f00b003c70f30ed0fmr3395210oib.34.1713456635368; Thu, 18 Apr 2024 09:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713456635; cv=none; d=google.com; s=arc-20160816; b=V06PfK53B5f9YWijgiqeb+KrO0JfsmNEOl1p1/ZdtncW52mrVlViPS9sCr5pFv7FZE LPZXeMH0pG0snpPL5RUfehSM/nJIKF4s757S62DpKQkFkAWXPiSXzyiwZOZUSitu7KnB g6jiUhN4mh6nSrmB0H2Vbhnmr8Q4bUTsFaPDQT/PEVe10pnuiLVgK/ZBicZdq+4xfM6V I8cTDlqw2mKpjP6HGXA4tZAtoKun/8Vm6x5kA+HSL/OpOj2I3eQZ5JncuaI247B8+DmT 3+MSXJNcj0HAH+Dz83fYxMPoUVhrS22saDTE0vFwlQHU2KZ6/se8aH53ktJ8Mt21fhao nPyg== 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=kpo0HdL0eHYUdshcZ/Szyn4EYxCkR3M8RtXPhI8xpmY=; fh=5gGtEWbs/bc4ZS50ZuMZZ2I/Jn5oaYqe3uWxuR8fBxU=; b=cnb1lv46CAadaPldIrK2AwfXvaSybN1zeZZQIPr7FATbDkvxl2s5DyzUJJ3EHoWvN5 PiXSf91FS4QO0SHc2MdDR5uNza67rSmIBP/o5YjKqlcCz84q8e1PrPvH9rG5uw/xAoXs SQ2rl8N7r35BSb6fWoMU2mJRaziwJRbq5N2Dg27JU7kPU2ftzuWpGbW2MOUi4BVyMlyr EkOYLeVeWXQCa4lOUxGx/79Sp3AvoMlpl2XxyzHbkJE7sDtOY11DZ4Z6zicLes4GYqxt LrDDm9hejcu7iV3DlpyG89UI8ESHqgcRLhfftsyaRRtnsi8jP/RGA4392KUAOZxIv5u2 zfZw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gDyw2IUB; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bl9-20020a05613006c900b007e3fc1bdddasi389360uab.208.2024.04.18.09.10.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Apr 2024 09:10:35 -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=gDyw2IUB; 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 ) id 1rxUKi-0000kb-Vd; Thu, 18 Apr 2024 12:09: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 1rxUKh-0000k1-CC for qemu-devel@nongnu.org; Thu, 18 Apr 2024 12:09:55 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxUKf-0006Xy-IK for qemu-devel@nongnu.org; Thu, 18 Apr 2024 12:09:55 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-349c4505058so724082f8f.3 for ; Thu, 18 Apr 2024 09:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713456591; x=1714061391; 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=kpo0HdL0eHYUdshcZ/Szyn4EYxCkR3M8RtXPhI8xpmY=; b=gDyw2IUB9oyeQit2OBqvwUO/HeOmEegMTgm14PN/h+5515A7MpBzSK9YQrwdeqbriC e+cOjto9L5mUTWYnAKdXubEvU8S1HHkxsdw+4PXWePSoML3VWzh6K9fWA7c/6uqH6Ah8 wCMEqIPxxqnEJfWKpMokXn/Ier8YkDxtHadNUhu/tBROR+mQEulxBvHgVodQYREe/OTm 0j93j+6tjl/ZFB8MCfNDIp12MwinZ+qupI2G8TZhjMM9fPPVlx9QwWUvlJtunDp4n9K0 7ihwQRCJ8mkZ3ZwkYmz2A9oiC/iqxgAL5MgmEdvDis9+seJlW0o9RmJ5SSzzWQp/rHCo HaEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713456591; x=1714061391; 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=kpo0HdL0eHYUdshcZ/Szyn4EYxCkR3M8RtXPhI8xpmY=; b=rlUeyYX70hYdsvA96TNKNzIbgdUGWOCQvtnO6xCKTtLzzcM214FgBEjzQQZrPc6B3+ JOdq3036fIZc3qE3kasMCqXxNRBdzu3odpt6OX2JIZkFxU68LFBRNqJ/v6wDKsxV1l8d yfEz03JcUvmX4HyTxsryE/OokspnUA7iwtAXhg3CuM+xao1mxBys+IEEltk5T1eVTM89 PpEmlb3FZ8+IkCTY3F/QlRxlNh43zPaQ4zB12ifVQI8z1uymwaunGkOG3ClBuD1PR9dM aTsk5hjRn75peEWSs9l+9KldEYI8PuThD/tjn7/MPAHgf9kKj3I3HsyPSPhQXGtqmBiw ZHOQ== X-Gm-Message-State: AOJu0YyxXcfHSfu6NiHSlfls8c+gK/FZXU0DFY6DBMdmU+ihJRjtdnUE RVFowOYug6CQneC9RUoCQEHPPvX2oS9iQxwPYTMAMcOQyDFK89M+xobuL7O+jDJpGUT4prs3MsX t X-Received: by 2002:a5d:4004:0:b0:343:7e98:e73e with SMTP id n4-20020a5d4004000000b003437e98e73emr2034591wrp.40.1713456591518; Thu, 18 Apr 2024 09:09:51 -0700 (PDT) Received: from m1x-phil.lan ([176.176.151.213]) by smtp.gmail.com with ESMTPSA id h16-20020adffd50000000b00346d3a626b8sm2210100wrs.3.2024.04.18.09.09.50 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Apr 2024 09:09:50 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 1/2] hw/elf_ops: Rename elf_ops.h -> elf_ops.h.inc Date: Thu, 18 Apr 2024 18:09:42 +0200 Message-ID: <20240418160943.95047-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240418160943.95047-1-philmd@linaro.org> References: <20240418160943.95047-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=philmd@linaro.org; helo=mail-wr1-x429.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 Since commit 139c1837db ("meson: rename included C source files to .c.inc"), QEMU standard procedure for included C files is to use *.c.inc. Besides, since commit 6a0057aa22 ("docs/devel: make a statement about includes") this is documented in the Coding Style: If you do use template header files they should be named with the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are being included for expansion. Therefore rename "hw/elf_ops.h" as "hw/elf_ops.h.inc". Signed-off-by: Philippe Mathieu-Daudé --- include/hw/{elf_ops.h => elf_ops.h.inc} | 0 bsd-user/elfload.c | 2 +- hw/core/loader.c | 4 ++-- linux-user/elfload.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename include/hw/{elf_ops.h => elf_ops.h.inc} (100%) diff --git a/include/hw/elf_ops.h b/include/hw/elf_ops.h.inc similarity index 100% rename from include/hw/elf_ops.h rename to include/hw/elf_ops.h.inc diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c index baf2f63d2f..833fa3bd05 100644 --- a/bsd-user/elfload.c +++ b/bsd-user/elfload.c @@ -383,7 +383,7 @@ static const char *lookup_symbolxx(struct syminfo *s, uint64_t orig_addr) return ""; } -/* FIXME: This should use elf_ops.h */ +/* FIXME: This should use elf_ops.h.inc */ static int symcmp(const void *s0, const void *s1) { struct elf_sym *sym0 = (struct elf_sym *)s0; diff --git a/hw/core/loader.c b/hw/core/loader.c index b8e52f3fb0..2f8105d7de 100644 --- a/hw/core/loader.c +++ b/hw/core/loader.c @@ -305,7 +305,7 @@ static void *load_at(int fd, off_t offset, size_t size) #define elf_word uint32_t #define elf_sword int32_t #define bswapSZs bswap32s -#include "hw/elf_ops.h" +#include "hw/elf_ops.h.inc" #undef elfhdr #undef elf_phdr @@ -327,7 +327,7 @@ static void *load_at(int fd, off_t offset, size_t size) #define elf_sword int64_t #define bswapSZs bswap64s #define SZ 64 -#include "hw/elf_ops.h" +#include "hw/elf_ops.h.inc" const char *load_elf_strerror(ssize_t error) { diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 28d9e8a9a5..fc60c01d57 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -3672,7 +3672,7 @@ static const char *lookup_symbolxx(struct syminfo *s, uint64_t orig_addr) return ""; } -/* FIXME: This should use elf_ops.h */ +/* FIXME: This should use elf_ops.h.inc */ static int symcmp(const void *s0, const void *s1) { struct elf_sym *sym0 = (struct elf_sym *)s0; From patchwork Thu Apr 18 16:09:43 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: 789788 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp647718wrm; Thu, 18 Apr 2024 09:10:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVjeElX2OPP/CfuWTlgYK+50IOG4Pkwr+2FFrP+mhb7U5XK1QqeBt+LhG5CxsjWRUa4RCX8mkMm1nt9rsHP5br/ X-Google-Smtp-Source: AGHT+IHjuqrIEER6gJs2Q8r23tR8ct022E1qYOYa+cqx/x1pLryVI1ptXz3rMCoPi+y4/WHVA3Hf X-Received: by 2002:a05:620a:2908:b0:78f:1596:e71e with SMTP id m8-20020a05620a290800b0078f1596e71emr590850qkp.50.1713456635370; Thu, 18 Apr 2024 09:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713456635; cv=none; d=google.com; s=arc-20160816; b=zvt58smR3Mi44g9jaOXE3oZvIFeM7CeEsnGJHkwb2fsczO3TOLGLf+R5pD1u+Dlvls N+GHjUyy/e43YcvsYK3ACIl0Z7O9kyyzM+3Kia2TrdDeLn6VpqquT8g7AnyJros/dhz3 mBFPzKKn2ZfzpPDSIAibSbR4SbTyKdbuDwXjnJxQPCL6i6Bsks2uToEiSeV8ynRugjXc X5M6QSyj/UpTuqrBKv+m0sXJKsE4lJ3CSXLCEASHgd3AHJVvGiWiO34z8Gfxrtq/c8x6 a4oCpJRUqbQwPT+cd9y6Xsw7ff+j4Ast1WRl84tvJpg+Y8gx4XlWK9ek2XrWoihOEwoP S5bQ== 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=RC3I7eEuU1Vrf2ad1mlMtTC053sX+mHPqI7q34t9+Ao=; fh=5gGtEWbs/bc4ZS50ZuMZZ2I/Jn5oaYqe3uWxuR8fBxU=; b=paeCi6GrAr1/WnNhcicoIsSFW2P+b5NVWgEKBVcuWsjrQ4Nn0RA37MwEJoQ91wKdnf hzQb3qS/n5TZ73vMzDPe2EX2XST92HgbYsZQmJ2me0HsBwMnCERXgB1Udrsn/SWMBK7d WliMj8I89mFHhvj7ApwUko5Fd89P/LTEErTYFDra4cVawFR+IKFkdglLppO00NtHiwd6 klyuXXgTtOfZaJ7ljx0Byoq55XynxNxgXKQnwsl1QL9PAjyTdkOSXzpV5GVLcZVSz+cz SCdLjwpz8fUzTFKdGH/0NW1jF0MOTEhViIm0ZDlND4re2bn1kZgVaPkAJrl5pDblXgGq 8+6A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="iLe/mHvH"; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id wi22-20020a05620a571600b0078f04a6ac98si1664075qkn.321.2024.04.18.09.10.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Apr 2024 09:10:35 -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="iLe/mHvH"; 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 ) id 1rxUKp-0000lJ-Bk; Thu, 18 Apr 2024 12:10:03 -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 1rxUKn-0000kv-2S for qemu-devel@nongnu.org; Thu, 18 Apr 2024 12:10:01 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxUKl-0006YY-26 for qemu-devel@nongnu.org; Thu, 18 Apr 2024 12:10:00 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3476dcd9c46so718458f8f.0 for ; Thu, 18 Apr 2024 09:09:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713456597; x=1714061397; 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=RC3I7eEuU1Vrf2ad1mlMtTC053sX+mHPqI7q34t9+Ao=; b=iLe/mHvHZ3DmAiEZCSMcWExrF96RqQZXTGRfz6y5119Jne/1epHOw7X+HcbNuQZcgP trjepu6BoKan6rLTeh2OvPS0NMwmbNoqTLdL2lJCnN1Ty0TOh7jSbIgsGRN4CRACncVH dzhzt3SUVeIGwezkt9YH4/eei008A7FDKGxmS8XP8of9La7+sExwyBr/y2HVqjhI2Lda ew+4Z2S8YQDQzZ1quTyx5fa/uePE9NspQxVngZhc06TZASWg2mNInohNl6Qz+esBOBDb uqs187/ouJ/X8hCXQ2fhsoABWN8sUGtCtGAQrRRfkogHTLzTMk1SZWl5n5qX3D0wwuul vCjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713456597; x=1714061397; 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=RC3I7eEuU1Vrf2ad1mlMtTC053sX+mHPqI7q34t9+Ao=; b=vPEQ702/xy2kXoBfANky9F1Ja+Ig/JhJoV2a7izHntdcctgNbxlEj3MSiDG+B1nw5m TGuUvOW8D861gub2J7fPESyHpzLfbP6yTKlVP9hX4NCSAOQaYhBtLj2b+L4aebZum7d4 Cn1G251yTMQS+V5xiyHwTdeq+IpcstVJGVqS95ql+A+Q/1zQotY/v6V71AfQTsX6Trs3 npxnDD521PGzPIgLwtvatQN14XpA215YPWMS1a251wp4GFSflqif7svBzh3/WkJ3P0QT 7v5lIjkKTNm4TxQSLv62tY7XJge5CXgVZXeEaOm8SLXzhmB2dsHqTvVP3ogVA4e0TGfM wMcg== X-Gm-Message-State: AOJu0Yxf7yVkfB4nxEAWsVGdSxuNyf5wQbNrRAHgZV0R+cs8y2kOl3yt HoTw6PDCYpa9GaVc/HHWmIrl8tsclR05cno8PHPb5h11sO5GuihPjzkJK6ICouSg0ALCfjNVJkr + X-Received: by 2002:adf:e6cb:0:b0:349:cbaa:3bfd with SMTP id y11-20020adfe6cb000000b00349cbaa3bfdmr2071143wrm.14.1713456596692; Thu, 18 Apr 2024 09:09:56 -0700 (PDT) Received: from m1x-phil.lan ([176.176.151.213]) by smtp.gmail.com with ESMTPSA id v10-20020a5d590a000000b003437ad152f9sm2145991wrd.105.2024.04.18.09.09.55 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Apr 2024 09:09:56 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/2] accel/tcg: Rename load-extract/store-insert headers using .h.inc suffix Date: Thu, 18 Apr 2024 18:09:43 +0200 Message-ID: <20240418160943.95047-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240418160943.95047-1-philmd@linaro.org> References: <20240418160943.95047-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=philmd@linaro.org; helo=mail-wr1-x429.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 Since commit 139c1837db ("meson: rename included C source files to .c.inc"), QEMU standard procedure for included C files is to use *.c.inc. Besides, since commit 6a0057aa22 ("docs/devel: make a statement about includes") this is documented in the Coding Style: If you do use template header files they should be named with the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are being included for expansion. Therefore rename 'store-insert-al16.h' as 'store-insert-al16.h.inc' and 'load-extract-al16-al8.h' as 'load-extract-al16-al8.h.inc'. Signed-off-by: Philippe Mathieu-Daudé --- .../{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} | 0 .../host/{store-insert-al16.h => store-insert-al16.h.inc} | 0 .../{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} | 0 .../host/{store-insert-al16.h => store-insert-al16.h.inc} | 0 .../{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} | 0 .../host/{store-insert-al16.h => store-insert-al16.h.inc} | 0 .../{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} | 0 accel/tcg/ldst_atomicity.c.inc | 4 ++-- 8 files changed, 2 insertions(+), 2 deletions(-) rename host/include/aarch64/host/{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} (100%) rename host/include/aarch64/host/{store-insert-al16.h => store-insert-al16.h.inc} (100%) rename host/include/generic/host/{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} (100%) rename host/include/generic/host/{store-insert-al16.h => store-insert-al16.h.inc} (100%) rename host/include/loongarch64/host/{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} (100%) rename host/include/loongarch64/host/{store-insert-al16.h => store-insert-al16.h.inc} (100%) rename host/include/x86_64/host/{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} (100%) diff --git a/host/include/aarch64/host/load-extract-al16-al8.h b/host/include/aarch64/host/load-extract-al16-al8.h.inc similarity index 100% rename from host/include/aarch64/host/load-extract-al16-al8.h rename to host/include/aarch64/host/load-extract-al16-al8.h.inc diff --git a/host/include/aarch64/host/store-insert-al16.h b/host/include/aarch64/host/store-insert-al16.h.inc similarity index 100% rename from host/include/aarch64/host/store-insert-al16.h rename to host/include/aarch64/host/store-insert-al16.h.inc diff --git a/host/include/generic/host/load-extract-al16-al8.h b/host/include/generic/host/load-extract-al16-al8.h.inc similarity index 100% rename from host/include/generic/host/load-extract-al16-al8.h rename to host/include/generic/host/load-extract-al16-al8.h.inc diff --git a/host/include/generic/host/store-insert-al16.h b/host/include/generic/host/store-insert-al16.h.inc similarity index 100% rename from host/include/generic/host/store-insert-al16.h rename to host/include/generic/host/store-insert-al16.h.inc diff --git a/host/include/loongarch64/host/load-extract-al16-al8.h b/host/include/loongarch64/host/load-extract-al16-al8.h.inc similarity index 100% rename from host/include/loongarch64/host/load-extract-al16-al8.h rename to host/include/loongarch64/host/load-extract-al16-al8.h.inc diff --git a/host/include/loongarch64/host/store-insert-al16.h b/host/include/loongarch64/host/store-insert-al16.h.inc similarity index 100% rename from host/include/loongarch64/host/store-insert-al16.h rename to host/include/loongarch64/host/store-insert-al16.h.inc diff --git a/host/include/x86_64/host/load-extract-al16-al8.h b/host/include/x86_64/host/load-extract-al16-al8.h.inc similarity index 100% rename from host/include/x86_64/host/load-extract-al16-al8.h rename to host/include/x86_64/host/load-extract-al16-al8.h.inc diff --git a/accel/tcg/ldst_atomicity.c.inc b/accel/tcg/ldst_atomicity.c.inc index 97dae70d53..134da3c1da 100644 --- a/accel/tcg/ldst_atomicity.c.inc +++ b/accel/tcg/ldst_atomicity.c.inc @@ -9,8 +9,8 @@ * See the COPYING file in the top-level directory. */ -#include "host/load-extract-al16-al8.h" -#include "host/store-insert-al16.h" +#include "host/load-extract-al16-al8.h.inc" +#include "host/store-insert-al16.h.inc" #ifdef CONFIG_ATOMIC64 # define HAVE_al8 true