kth: Remove irq_okay from sems and CVs
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 14 Dec 2018 22:46:11 +0000 (17:46 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 18 Dec 2018 20:30:28 +0000 (15:30 -0500)
commit37494a148e1ae6599a68fa5e33a8d907c2c2ab2c
tree0e5c0b071427e2f218fd6412179b9c3a7249fa69
parentdfd46c31c6615091f7edd005ec2dd536a99453ae
kth: Remove irq_okay from sems and CVs

It wasn't necessary.  The only use for it was one assertion.  If that
assert would have failed, then the spinlock code will also fail
(assuming SPINLOCK_DEBUG is on).

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/kthread.h
kern/src/kthread.c