]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 265913, 265914:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 May 2014 01:18:42 +0000 (01:18 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 May 2014 01:18:42 +0000 (01:18 +0000)
commitdf2c2112b00b8b0e6e15f493c2b3592c0d109f1b
treee4e2775e18761e96dc641f127d26fabf5ece929f
parent819d3cb189b526ae3391104f12ed538abe00a1ea
MFC 265913, 265914:

  Interrupts need to be disabled on entry to cpu_sleep() for ARM.  Given
  that and the need to be in a critical section when switching to idleclock
  mode for event timers, use spinlock_enter()/exit() to achieve both needs.

  Clean up some style nits.

git-svn-id: svn://svn.freebsd.org/base/stable/10@266388 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/arm/machdep.c