git: cf63f12a5116 - stable/13 - Move the arm64 identify_cpu SYSINIT earlier
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Dec 2021 11:07:29 UTC
The branch stable/13 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=cf63f12a511627d123974ccb260b3d156dc18923 commit cf63f12a511627d123974ccb260b3d156dc18923 Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2021-11-22 10:25:01 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2021-12-14 10:58:01 +0000 Move the arm64 identify_cpu SYSINIT earlier It is used by late ifunc resolvers so needs to be at an earlier stage of the boot. Previously it was at the same stage so may not have run before the ifunc resolvers. Sponsored by: The FreeBSD Foundation (cherry picked from commit 44ca3690519b653c7293c2366b6c47d8f510ff26) --- sys/arm64/arm64/identcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index dabfe6f99d3a..29a438b0a2db 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -1743,7 +1743,7 @@ identify_cpu_sysinit(void *dummy __unused) install_undef_handler(true, user_mrs_handler); } -SYSINIT(identify_cpu, SI_SUB_CPU, SI_ORDER_ANY, identify_cpu_sysinit, NULL); +SYSINIT(identify_cpu, SI_SUB_CPU, SI_ORDER_MIDDLE, identify_cpu_sysinit, NULL); static void cpu_features_sysinit(void *dummy __unused)