svn commit: r335440 - head/sys/arm/arm

Andrew Turner andrew at FreeBSD.org
Wed Jun 20 11:13:11 UTC 2018


Author: andrew
Date: Wed Jun 20 11:13:10 2018
New Revision: 335440
URL: https://svnweb.freebsd.org/changeset/base/335440

Log:
  Move the SYSINIT to allow userspace access to the ARM generic timer later
  in the boot. It doesn't need to be early, so move it to the SI_ORDER_ANY
  stage of SI_SUB_SMP.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/arm/arm/generic_timer.c

Modified: head/sys/arm/arm/generic_timer.c
==============================================================================
--- head/sys/arm/arm/generic_timer.c	Wed Jun 20 10:57:29 2018	(r335439)
+++ head/sys/arm/arm/generic_timer.c	Wed Jun 20 11:13:10 2018	(r335440)
@@ -243,7 +243,7 @@ tmr_setup_user_access(void *arg __unused)
 	if (arm_tmr_sc != NULL)
 		smp_rendezvous(NULL, setup_user_access, NULL, NULL);
 }
-SYSINIT(tmr_ua, SI_SUB_SMP, SI_ORDER_SECOND, tmr_setup_user_access, NULL);
+SYSINIT(tmr_ua, SI_SUB_SMP, SI_ORDER_ANY, tmr_setup_user_access, NULL);
 
 static unsigned
 arm_tmr_get_timecount(struct timecounter *tc)


More information about the svn-src-head mailing list