Page MenuHomeFreeBSD

D41800.diff
No OneTemporary

D41800.diff

diff --git a/sys/arm/arm/gic_acpi.c b/sys/arm/arm/gic_acpi.c
--- a/sys/arm/arm/gic_acpi.c
+++ b/sys/arm/arm/gic_acpi.c
@@ -84,7 +84,7 @@
struct madt_table_data {
device_t parent;
ACPI_MADT_GENERIC_DISTRIBUTOR *dist;
- ACPI_MADT_GENERIC_INTERRUPT *intr[MAXCPU];
+ ACPI_MADT_GENERIC_INTERRUPT *intr[GIC_MAXCPU];
};
static void
@@ -107,7 +107,7 @@
break;
case ACPI_MADT_TYPE_GENERIC_INTERRUPT:
intr = (ACPI_MADT_GENERIC_INTERRUPT *)entry;
- if (intr->CpuInterfaceNumber < MAXCPU)
+ if (intr->CpuInterfaceNumber < GIC_MAXCPU)
madt_data->intr[intr->CpuInterfaceNumber] = intr;
break;
}
@@ -151,7 +151,7 @@
}
intr = NULL;
- for (i = 0; i < MAXCPU; i++) {
+ for (i = 0; i < GIC_MAXCPU; i++) {
if (madt_data.intr[i] != NULL) {
if (intr == NULL) {
intr = madt_data.intr[i];

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 11:40 PM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14523289
Default Alt Text
D41800.diff (812 B)

Event Timeline