From: Jan Kiszka <[email protected]>

No longer needed since 1ff4937416fd, in fact.

Signed-off-by: Jan Kiszka <[email protected]>
---
 hypervisor/arch/x86/apic.c             | 2 +-
 hypervisor/arch/x86/include/asm/apic.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/hypervisor/arch/x86/apic.c b/hypervisor/arch/x86/apic.c
index 40d6fce9..4f75bb12 100644
--- a/hypervisor/arch/x86/apic.c
+++ b/hypervisor/arch/x86/apic.c
@@ -34,7 +34,7 @@ bool using_x2apic;
 /**
  * Mapping from a physical APIC ID to the logical CPU ID as used by Jailhouse.
  */
-u8 apic_to_cpu_id[] = { [0 ... APIC_MAX_PHYS_ID] = CPU_ID_INVALID };
+static u8 apic_to_cpu_id[] = { [0 ... APIC_MAX_PHYS_ID] = CPU_ID_INVALID };

 /* Initialized for x2APIC, adjusted for xAPIC during init */
 static u32 apic_reserved_bits[] = {
diff --git a/hypervisor/arch/x86/include/asm/apic.h 
b/hypervisor/arch/x86/include/asm/apic.h
index 86cd0a9f..5bddf4da 100644
--- a/hypervisor/arch/x86/include/asm/apic.h
+++ b/hypervisor/arch/x86/include/asm/apic.h
@@ -150,7 +150,6 @@ struct apic_irq_message {
 };

 extern bool using_x2apic;
-extern u8 apic_to_cpu_id[];

 int apic_init(void);
 int apic_cpu_init(struct per_cpu *cpu_data);
--
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/4da2f64396ae900b1229acbf5fd82e7c0323a36a.1581770164.git.jan.kiszka%40web.de.

Reply via email to