diff mbox series

[v2,2/3] xen/arm32: Remove unused macro FRAMETABLE_VIRT_END

Message ID 20230117114332.25863-3-michal.orzel@amd.com (mailing list archive)
State New, archived
Headers show
Series xen/arm: Frametable hardening and config.h cleanup | expand

Commit Message

Michal Orzel Jan. 17, 2023, 11:43 a.m. UTC
This macro is unused and the corresponding one for arm64 has already
been removed as part of the commit 6dc9a1fe982f ("xen/arm: Remove most
of the *_VIRT_END defines").

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
---
Changes in v2:
 - move a change to a separate patch
---
 xen/arch/arm/include/asm/config.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Julien Grall Jan. 17, 2023, 1:52 p.m. UTC | #1
Hi Michal,

On 17/01/2023 11:43, Michal Orzel wrote:
> This macro is unused and the corresponding one for arm64 has already
> been removed as part of the commit 6dc9a1fe982f ("xen/arm: Remove most
> of the *_VIRT_END defines").
> 
> Signed-off-by: Michal Orzel <michal.orzel@amd.com>

Reviewed-by: Julien Grall <jgrall@amazon.com>

Cheers,
diff mbox series

Patch

diff --git a/xen/arch/arm/include/asm/config.h b/xen/arch/arm/include/asm/config.h
index 16213c8b677f..6661a41583c6 100644
--- a/xen/arch/arm/include/asm/config.h
+++ b/xen/arch/arm/include/asm/config.h
@@ -127,7 +127,6 @@ 
 #define FRAMETABLE_VIRT_START  _AT(vaddr_t,0x02000000)
 #define FRAMETABLE_SIZE        MB(128-32)
 #define FRAMETABLE_NR          (FRAMETABLE_SIZE / sizeof(*frame_table))
-#define FRAMETABLE_VIRT_END    (FRAMETABLE_VIRT_START + FRAMETABLE_SIZE - 1)
 
 #define VMAP_VIRT_START        _AT(vaddr_t,0x10000000)
 #define VMAP_VIRT_SIZE         _AT(vaddr_t, GB(1) - MB(256))