mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/arm: Drop frametable_virt_end
It has never been used since the introduction and is technically a dead code violating MISRA C. Signed-off-by: Michal Orzel <michal.orzel@amd.com> Reviewed-by: Ayan Kumar Halder <ayan.kumar.halder@amd.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
71880d7ca4
commit
fe6a12a083
2 files changed
-9
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||