kernel - Fix syscons's visual bell
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 17 Feb 2018 19:29:49 +0000 (11:29 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 17 Feb 2018 19:32:01 +0000 (11:32 -0800)
commitca827bc5ec5c396eecc6a9f47407e46cce0c4c76
tree385b95ddf9fa091a5532c8e5a974f75f464c1433
parent3c4955c84a56ec18886fbbbbd986b6491de382a4
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