Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 11:13:10 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335440 - head/sys/arm/arm
Message-ID:  <201806201113.w5KBDAPI065501@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806201113.w5KBDAPI065501>