[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 4/7] xen/asm-generic: ifdef inclusion of <asm/mem_access.h>
- To: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
- From: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
- Date: Fri, 26 Jan 2024 16:48:58 -0500
- Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=tklengyel.com; spf=pass smtp.mailfrom=tamas@xxxxxxxxxxxxx; dmarc=pass header.from=<tamas@xxxxxxxxxxxxx>
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706305777; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=byCJeq9qylYIhTpENFoknC1RQg2HB1JYDz1FifW7c2k=; b=EthEuQ2pm+xGrWo59C53/Eonj6T26RabHX/XFOa1RO9Uel52OdeFLUXrCytnUyUKIxb91l3EkRqrXMHxjdVbPVWKfnb9tsPgo7cERDSRK/bPaXOCWgEYrzIetjPJPG+JDGD66BikBtalq6MTlt55AqBv72tMP4IE666WimsSpVo=
- Arc-seal: i=1; a=rsa-sha256; t=1706305777; cv=none; d=zohomail.com; s=zohoarc; b=UuW5D2AUY/6Gm7REZ9N8PQJ/E2CvEx5HhtjSZ9KYJb1uRRllrSvz8ltKJrKpSzsfxUUS8licVYPO91xv5H136gNy3yvvaodcRnjJnvWJ/38rpTVJCLlN5PGs6cfdxed/jsowyMXyaP4V7CRtOeqmY8GJSHWmKdzWnclp+G1qrhQ=
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>, Alexandru Isaila <aisaila@xxxxxxxxxxxxxxx>, Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Bob Eshleman <bobbyeshleman@xxxxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
- Delivery-date: Fri, 26 Jan 2024 21:49:47 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Fri, Jan 26, 2024 at 10:42 AM Oleksii Kurochko
<oleksii.kurochko@xxxxxxxxx> wrote:
>
> ifdefing inclusion of <asm/mem_access.h> in <xen/mem_access.h>
> allows to avoid generation of empty <asm/mem_access.h> header
> for the case when !CONFIG_MEM_ACCESS.
>
> For Arm it was explicitly added inclusion of <asm/mem_access.h> for p2m.c
> and traps.c because they require some functions from <asm/mem_access.h> which
> aren't available in case of !CONFIG_MEM_ACCESS.
>
> Suggested-by: Jan Beulich <jbeulich@xxxxxxxx>
> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
Acked-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
|