HV: move NR_IOAPICS to platform acpi info

The I/O APIC number should be parsed from host ACPI table, so move the
definition from Kconfig to platform_acpi_info.h.

Tracked-On: #1500
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Victor Sun
2018-10-12 23:17:41 +08:00
committed by wenlingz
parent bf834072d4
commit 8f701b0ff7
5 changed files with 11 additions and 10 deletions

View File

@@ -14,7 +14,7 @@
#define IOAPIC_MAX_LINES 120U
#define NR_LEGACY_IRQ 16U
#define NR_LEGACY_PIN NR_LEGACY_IRQ
#define NR_MAX_GSI (CONFIG_NR_IOAPICS * IOAPIC_MAX_LINES)
#define NR_MAX_GSI (NR_IOAPICS * IOAPIC_MAX_LINES)
void setup_ioapic_irqs(void);