]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6143bcb47e6fe6e260a6a1b5e7bbdbb0645d768
treea734e48a573774201ab8c6c06ff6eb6de60648f1
parent99ab40a81e1e7bf8346203795971480ec923dfad
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