From nobody Mon Feb 9 17:24:45 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1699633883; cv=none; d=zohomail.com; s=zohoarc; b=iqnJEnNMVWmXemA7+cG+YoyFe8hDNsIBxoPeop59k3vpgcDt23jP+asrs6v4u19ebA0H/kgcbPvGT+R3EkhfLcEha45sfPih4jWKu5SCJtnoTpduEPpJMAuW8gM1R+A6TIlHdkSkOfZeoYcJ37HCOzdZ9NooFXh1Zk4U4ANtW+4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699633883; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=H3O1Y0n3q5RJstFX0Kyg3z3bQs0fhLQ5wf5VwzlPI2E=; b=V/KpyO3s2mjZLH99Q0m86PKb2h3KQazo4Iz44zt9lffmbgzR8eLX14PzgIBIuCbdeECJqCcgYNhzup+Ez8B8qijy3NneXDv3ApTxF+nuWqCW8eWdQNGn0Udvj6LZq2uWPiV4Pg9t7fmuaeobzVYl70kwj6jam4mTraezNTHo83Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 169963388336885.54613021413513; Fri, 10 Nov 2023 08:31:23 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.630611.983650 (Exim 4.92) (envelope-from ) id 1r1UPJ-00063K-BK; Fri, 10 Nov 2023 16:30:57 +0000 Received: by outflank-mailman (output) from mailman id 630611.983650; Fri, 10 Nov 2023 16:30:57 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r1UPJ-00063B-8S; Fri, 10 Nov 2023 16:30:57 +0000 Received: by outflank-mailman (input) for mailman id 630611; Fri, 10 Nov 2023 16:30:56 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r1UPI-0005Bj-DK for xen-devel@lists.xenproject.org; Fri, 10 Nov 2023 16:30:56 +0000 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [2a00:1450:4864:20::62a]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 8513676c-7fe6-11ee-9b0e-b553b5be7939; Fri, 10 Nov 2023 17:30:54 +0100 (CET) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9e61e969b1aso139697566b.0 for ; Fri, 10 Nov 2023 08:30:54 -0800 (PST) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id lv19-20020a170906bc9300b009a9fbeb15f5sm4128966ejb.46.2023.11.10.08.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 08:30:53 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 8513676c-7fe6-11ee-9b0e-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699633854; x=1700238654; darn=lists.xenproject.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=H3O1Y0n3q5RJstFX0Kyg3z3bQs0fhLQ5wf5VwzlPI2E=; b=FReMGtRldl4++7r5qJBcVDpR8rlfzRffTR2Qrusg31oHYt7UKZoXe+bwhkI4A15oQ4 d8hAuthlEBw3RZzadEYEOb1pVpSpmgcYO5FcT3QEDkLcDqMXLxoY5PudIof/j2XXd0Fp RBtxUMfNotKfSPmHJvgGGudGjmaX4J+E7/5SXBGqPciy3NLFeiHvWaO0NjtL7n0lGHzm Fg8aCcKa50glwZS5si+PGHIIPJeWtNToWgCgpR5FpP3v4EK1f1bahpkTaPKER0h1KtMC 2ZX6aTxyWCp4wDvLI5azB87PFr3UuoL72Qz/oMUlJa7ioz4tNITW4CIZFKvwJORZzT4Q uEdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699633854; x=1700238654; 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=H3O1Y0n3q5RJstFX0Kyg3z3bQs0fhLQ5wf5VwzlPI2E=; b=c6BUU4OeksaixJmuG4ee0qLG48Y7iBdmTGKf54lvyRhmu4qLGcyyKQiYNnSDEGgpvn HYi9SNqTLpOhDptLu87qS9d62aU8JiFXfH02nxDX3tdiatLJDu9VY+Z3zIYzZwFt4Ys0 9mku0qOZXcDOqeUfGeZvH7FW8q0MCklgBSHgT6Sy3CDlMIbZG9ZN0Zo6VDy+F7DITrS6 BFlm8BLxE1nnXdr9+GXGFtiWaSoB7kPN29G7IsMHLQE1jX9swpxYr9iNA7fXLCBqx7pE HDl9GbIEDC3QZmCZNqMKnL9khzdZq9f7ewuwn9G1WSGwE9qjIhDYAQBWZRQnhFejNnc1 uOyg== X-Gm-Message-State: AOJu0YxlDB6f0Hz5bAZz4oUpcOT6j/4ZNA0BAupnL9nFsj6fU+fYYUXR kpY+ZlVsedNl6/u8SCZ6atmvt6VK/z8= X-Google-Smtp-Source: AGHT+IEiPYbRZhrTqpKWt7zqu4+Eg1sdWzcY9qVAqSFBpy7231QJUol8hazCDydLNbYHGIUtODK+Rg== X-Received: by 2002:a17:907:787:b0:9d2:20ee:b1c7 with SMTP id xd7-20020a170907078700b009d220eeb1c7mr7475614ejb.45.1699633853938; Fri, 10 Nov 2023 08:30:53 -0800 (PST) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Oleksii Kurochko , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH v2 03/15] xen: ifdef inclusion of in Date: Fri, 10 Nov 2023 18:30:29 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1699633884666100009 Content-Type: text/plain; charset="utf-8" Ifdefing inclusion of allows to avoid generation of empty for cases when CONFIG_GRANT_TABLE is not enabled. Suggested-by: Jan Beulich Signed-off-by: Oleksii Kurochko --- Changes in V2: - ifdef inclusion of asm/grant_table.h in xen/grant_table.h to avoid generation of empty headers for PPC and RISC-V archs. - update commit message - add Suggested-by: Jan Beulich - Remove provided before asm-generic/grant_table.h header. --- xen/include/xen/grant_table.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h index 85fe6b7b5e..50edfecfb6 100644 --- a/xen/include/xen/grant_table.h +++ b/xen/include/xen/grant_table.h @@ -26,7 +26,10 @@ #include #include #include + +#ifdef CONFIG_GRANT_TABLE #include +#endif =20 struct grant_table; =20 --=20 2.41.0