]> git.baikalelectronics.ru Git - kernel.git/commit
vt,console,kdb: automatically set kdb LINES variable
authorJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:30 +0000 (09:22 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:30 +0000 (09:22 -0500)
commit9fba59096eae7accbab5af98575c63637e5c783d
treec332675648080d38e9f461286274534a16e7346b
parent7eb7310243af08b5bc5d01128f6af8eab471f07e
vt,console,kdb: automatically set kdb LINES variable

The kernel console interface stores the number of lines it is
configured to use. The kdb debugger can greatly benefit by knowing how
many lines there are on the console for the pager functionality
without having the end user compile in the setting or have to
repeatedly change it at run time.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
CC: David Airlie <airlied@linux.ie>
CC: Andrew Morton <akpm@linux-foundation.org>
drivers/char/vt.c
include/linux/kdb.h
kernel/debug/kdb/kdb_private.h