HomeFreeBSD

tty_pts: don't rely on tty header pollution for sys/mutex.h

Description

tty_pts: don't rely on tty header pollution for sys/mutex.h

tty_pts.c relies on sys/tty.h for sys/mutex.h. Include it directly instead
of relying on this pollution to ease the diff for anyone that wants to try
converting the tty lock to anything other than a mutex.

Details

Provenance
kevansAuthored on
Parents
rS355205: snp: don't reference tp->t_mtx directly
Branches
Unknown
Tags
Unknown