kernel - Fix syscons's visual bell
commit72da38a048a2cdd1dda3621a3ade865c65b30d4a
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 17 Feb 2018 19:29:49 +0000 (17 11:29 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 17 Feb 2018 19:29:49 +0000 (17 11:29 -0800)
tree9b91fef0866dddd06b79349fe0540ffc10ebb093
parent176090d9868209414f69ef34c87991ca8d1b8a28
kernel - Fix syscons's visual bell

* The visual bell code was completely broken.

* Refactor the callout, and use the new callout_init_lk facility
  to deal with races.

Reported-by: snurg
sys/dev/misc/syscons/syscons.c