Page MenuHomeFreeBSD

D37104.diff
No OneTemporary

D37104.diff

diff --git a/sys/dev/acpica/acpi_ged.c b/sys/dev/acpica/acpi_ged.c
--- a/sys/dev/acpica/acpi_ged.c
+++ b/sys/dev/acpica/acpi_ged.c
@@ -198,7 +198,7 @@
}
}
#else
- rawirq = rman_get_start(sc->evt[i].r);
+ rawirq = rman_get_start(sc->evts[i].r);
trig = INTR_TRIGGER_LEVEL;
if (ACPI_SUCCESS(acpi_lookup_irq_resource
(dev, sc->evts[i].rid,
diff --git a/sys/modules/acpi/acpi_ged/Makefile b/sys/modules/acpi/acpi_ged/Makefile
--- a/sys/modules/acpi/acpi_ged/Makefile
+++ b/sys/modules/acpi/acpi_ged/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
.PATH: ${SRCTOP}/sys/dev/acpica
-.if ${TARGET_ARCH} == aarch64
+.if ${MACHINE_CPUARCH} == "aarch64"
CFLAGS += -DINTRNG
.endif
KMOD= acpi_ged

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 3:19 PM (20 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14660633
Default Alt Text
D37104.diff (701 B)

Event Timeline