devcapability: initialize the qlock
authorRonald G. Minnich <rminnich@gmail.com>
Thu, 5 Jan 2017 18:24:44 +0000 (10:24 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 18 Jan 2017 18:27:54 +0000 (13:27 -0500)
commit8cf0b51fd8b3481365deb1aa12ba36d4e46be8c4
tree2ea48835b3da85b4d6bace61f8796c0b8c404de8
parenteaa24bf8e75eda294a0d0ce80a89fe0452fb2867
devcapability: initialize the qlock

This was not needed in the original since plan 9 qlocks
zero value is usable. In Akaros they must be initialized.

Change-Id: I16def7b5b90c9e05212204df27e3819857b9a4dd
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/capability.c