kernel - Attempt to fix SMP races with ^T
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 4 Mar 2013 22:42:07 +0000 (14:42 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 4 Mar 2013 22:42:07 +0000 (14:42 -0800)
commit197b441cf8a202cccfe48cf5c589f7f5a2e389e6
tree9792e0353b01818300912252cf2ff947cdd43bd4
parent8fd2f2436da10f369a452cf69f85b233a09c02f5
kernel - Attempt to fix SMP races with ^T

* The ^T (ttyinfo()) code was still using critical-sections to protect
  its probe.  This no longer works.  Replace with appropriate hold's and
  tokens.

Reported-by: marino
sys/kern/tty.c