vt,console,kdb: implement atomic console enter/leave functions

These functions allow the kernel debugger to save and restore the
state of the system console.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
CC: David Airlie <airlied@linux.ie>
CC: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Jesse Barnes 2010-08-05 09:22:30 -05:00 • committed by Jason Wessel
commit b45cfba4e9
2 changed files with 74 additions and 0 deletions