freebsd-dev/sys/dev/cfe
Kyle Evans 23d5326823 tty: convert tty_lock_assert to tty_assert_locked to hide lock type
A later change, currently being iterated on in D24459, will in-fact change
the lock type to an sx so that TTY drivers can sleep on it if they need to.
Committing this ahead of time to make the review in question a little more
palatable.

tty_lock_assert() is unfortunately still needed for now in two places to
make sure that the tty lock has not been recursed upon, for those scenarios
where it's supplied by the TTY driver and possibly a mutex that is allowed
to recurse.

Suggested by:	markj
2020-04-17 18:34:49 +00:00
..
cfe_api_int.h
cfe_api.c
cfe_api.h sys/dev/cfi: include sys/types.h as well 2020-01-02 22:52:31 +00:00
cfe_console.c tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
cfe_env.c
cfe_error.h
cfe_ioctl.h
cfe_resource.c