kernel - lock sim in cam_periph_alloc()
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Aug 2010 04:02:54 +0000 (21:02 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Aug 2010 04:02:54 +0000 (21:02 -0700)
commite0e739f8950d09536c5cc0825e41b322360908b2
treedba1d924b8659f9279443994ed166dfd28cd2473
parent8787825a65f14bcf19955bf9fd4fe5bcfc25865e
kernel - lock sim in cam_periph_alloc()

* cam_periph_alloc() is called from places where the sim lock is not
  being held.  Acquire the lock internally as needed.
sys/bus/cam/cam_periph.c