kernel - Fix multiple tty_token issues related to vt switching and X
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Sep 2010 17:56:16 +0000 (10:56 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Sep 2010 17:56:16 +0000 (10:56 -0700)
commit766a68c8c4710d466edb87c875e43d114bb43af8
tree3c04b6d928a4008eaa378b59bb1235ad09b6d2d2
parent7a84d2a74655a82f69fdf99b0579051d99f25ddd
kernel - Fix multiple tty_token issues related to vt switching and X

* Numerous places where gettoken/reltoken was not matched up

* Of particular note the multi-line macros in fbreg.h did not have
  any do/while() protection and were being used in if() macro()
  situations which caused massive issues.

Reported-by: Everyone
sys/dev/misc/kbd/kbd.c
sys/dev/misc/syscons/scvgarndr.c
sys/dev/misc/syscons/syscons.c
sys/dev/video/fb/fbreg.h