]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 265913, 265914:
authorian <ian@FreeBSD.org>
Sun, 18 May 2014 01:18:42 +0000 (01:18 +0000)
committerian <ian@FreeBSD.org>
Sun, 18 May 2014 01:18:42 +0000 (01:18 +0000)
commit79fa7e0a74ae908ace3288fb0e05ab959d088373
treee4e2775e18761e96dc641f127d26fabf5ece929f
parent7bb0883aa0ae80e8b64fd57169b3024a7eb0bfb7
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.
sys/arm/arm/machdep.c