fb: add hooks to handle KDB enter/exit
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 2 Aug 2010 19:05:41 +0000 (12:05 -0700)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:31 +0000 (09:22 -0500)
commitd219adc1228a3887486b58a430e736b0831f192c
treea734e48a573774201ab8c6c06ff6eb6de60648f1
parent408a4be1f8cbee511895ee07da2a007a5a24303f
fb: add hooks to handle KDB enter/exit

Add fb ops to handle enter/exit of the kernel debugger.  If present, the
fb core will register them with KGDB and they'll be called when the
debugger is entered and exited.  The new functions are responsible for
switching to an appropriate debug framebuffer and restoring the
interrupted state at exit time.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
drivers/video/console/fbcon.c
drivers/video/console/fbcon.h
include/linux/fb.h