git: 7a5d47de9728 - main - Make adding children consistant in the GICv3 drivers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Sep 2022 14:47:12 UTC
The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=7a5d47de9728400ad2d8a5a12a5928fe6d250fc3 commit 7a5d47de9728400ad2d8a5a12a5928fe6d250fc3 Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2022-09-23 11:05:10 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2022-09-23 14:28:45 +0000 Make adding children consistant in the GICv3 drivers Reorder statements to make them consistant between the ACPI and FDT GICv3 attachments. Reported by: jrtc27 Sponsored by: Innovate UK --- sys/arm64/arm64/gic_v3_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/gic_v3_acpi.c b/sys/arm64/arm64/gic_v3_acpi.c index 3d3cd3ba9ccd..d6d5640f9daa 100644 --- a/sys/arm64/arm64/gic_v3_acpi.c +++ b/sys/arm64/arm64/gic_v3_acpi.c @@ -432,8 +432,8 @@ gic_v3_acpi_bus_attach(device_t dev) resource_list_init(&di->di_rl); di->di_gic_dinfo.gic_domain = -1; di->di_gic_dinfo.is_vgic = 1; - sc->gic_nchildren++; device_set_ivars(child, di); + sc->gic_nchildren++; } }