]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pick the hotchar out of the tty structure instead of caching private
authorphk <phk@FreeBSD.org>
Sat, 26 Jun 2004 09:20:07 +0000 (09:20 +0000)
committerphk <phk@FreeBSD.org>
Sat, 26 Jun 2004 09:20:07 +0000 (09:20 +0000)
commit0567d4ef5fa68876b3d70414d79e61c5cad5db3e
treec93b5edd593fd013f81731c196b7d1369e3d5f78
parent21a36330b410b4bc4b67ebb64182227996dfb557
Pick the hotchar out of the tty structure instead of caching private
copies.

No current line disciplines have a dynamically changing hotchar, and
expecting to receive anything sensible during a change in ldisc is
insane so no locking of the hotchar field is necessary.
14 files changed:
sys/dev/cy/cy.c
sys/dev/rc/rc.c
sys/dev/si/si.c
sys/dev/si/si.h
sys/dev/sio/sio.c
sys/dev/sx/sx.c
sys/dev/sx/sx.h
sys/dev/usb/ucom.c
sys/dev/usb/ucomvar.h
sys/kern/tty.c
sys/net/ppp_tty.c
sys/pc98/cbus/sio.c
sys/pc98/pc98/sio.c
sys/sys/tty.h