It has never been used since the introduction and is technically a dead code violating MISRA C.
Signed-off-by: Michal Orzel <michal.or...@amd.com> --- xen/arch/arm/include/asm/config.h | 4 ---- xen/arch/arm/mmu/mm.c | 5 ----- 2 files changed, 9 deletions(-) diff --git a/xen/arch/arm/include/asm/config.h b/xen/arch/arm/include/asm/config.h index 272e4565e592..f18825bc2d50 100644 --- a/xen/arch/arm/include/asm/config.h +++ b/xen/arch/arm/include/asm/config.h @@ -66,10 +66,6 @@ #define STACK_ORDER 3 #define STACK_SIZE (PAGE_SIZE << STACK_ORDER) -#ifndef __ASSEMBLY__ -extern unsigned long frametable_virt_end; -#endif - #define watchdog_disable() ((void)0) #define watchdog_enable() ((void)0) diff --git a/xen/arch/arm/mmu/mm.c b/xen/arch/arm/mmu/mm.c index 9c50479c6373..6604f3bf4e6a 100644 --- a/xen/arch/arm/mmu/mm.c +++ b/xen/arch/arm/mmu/mm.c @@ -8,8 +8,6 @@ #include <xen/pdx.h> #include <xen/string.h> -unsigned long frametable_virt_end __read_mostly; - /* Map a frame table to cover physical addresses ps through pe */ void __init setup_frametable_mappings(paddr_t ps, paddr_t pe) { @@ -46,9 +44,6 @@ void __init setup_frametable_mappings(paddr_t ps, paddr_t pe) memset(&frame_table[0], 0, nr_pdxs * sizeof(struct page_info)); memset(&frame_table[nr_pdxs], -1, frametable_size - (nr_pdxs * sizeof(struct page_info))); - - frametable_virt_end = FRAMETABLE_VIRT_START + (nr_pdxs * - sizeof(struct page_info)); } /* -- 2.25.1