Static initializers for semaphores
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 4 Feb 2015 17:10:00 +0000 (12:10 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sun, 1 Mar 2015 14:36:01 +0000 (09:36 -0500)
commit62b03618311c469f520c3613c52e26b2c18ad471
treec9bd63dbd8cd7ee84c7b3e98f5b16cdad29cab42
parent2dd3b8db3c6e8d35b9c59c2c8964089bc8907e5d
Static initializers for semaphores

Similar to the SPINLOCK_INITIALIZERS.  I thought it'd be more of a pain, but
since Linux did it, then so can we.
kern/include/kthread.h
kern/src/ktest/pb_ktests.c