diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2019-05-01 06:26:43 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2019-05-01 06:26:43 +0000 |
commit | eb3211fd97527b4f083f1b4fa25153c70844a87a (patch) | |
tree | 54ab06ddf0df53b3a9623c6e4bcfb453751b14ae /sys/dev/pci/tga_conf.c | |
parent | bc17cbe150c909b7a6b2df9c01ca09c836b49887 (diff) |
add a KERNEL_ASSERT_LOCKED() to ptsignal
it obviously needs to be called with the kernel lock held, so it
makes sense to check that so we can unlock more code without
introducing bugs that shoot us in the face in the indeterminate
future.
csignal is basically a wrapper around ptsignal, so calls to that
without the kernel lock should be caught by this too.
discussed with mpi@ on bugs@
Diffstat (limited to 'sys/dev/pci/tga_conf.c')
0 files changed, 0 insertions, 0 deletions