Revert "FROMLIST: KVM: arm64: Make __io_map_base static"

This reverts commit f8b4f2d6cd.

Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I09f0f0a58f4e1ace8c78d6afe408cfcbf7cc434d
This commit is contained in:
Will Deacon
2022-07-07 15:52:03 +01:00
parent 14c83ba9a5
commit 659f3dbc10
2 changed files with 2 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
extern struct kvm_pgtable pkvm_pgtable;
extern hyp_spinlock_t pkvm_pgd_lock;
extern u64 __io_map_base;
int hyp_create_idmap(u32 hyp_va_bits);
int hyp_map_vectors(void);

View File

@@ -19,12 +19,11 @@
struct kvm_pgtable pkvm_pgtable;
hyp_spinlock_t pkvm_pgd_lock;
u64 __io_map_base;
struct memblock_region hyp_memory[HYP_MEMBLOCK_REGIONS];
unsigned int hyp_memblock_nr;
static u64 __io_map_base;
static int __pkvm_create_mappings(unsigned long start, unsigned long size,
unsigned long phys, enum kvm_pgtable_prot prot)
{