diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-08-05 18:22:30 +0400 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-08-05 18:22:30 +0400 |
commit | 81d4450732c68aa728f2c86c0c2993c6cfc3d032 (patch) | |
tree | c332675648080d38e9f461286274534a16e7346b /include | |
parent | b45cfba4e9005d64d419718e7ff7f7cab44c1994 (diff) | |
download | linux-81d4450732c68aa728f2c86c0c2993c6cfc3d032.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/kdb.h b/include/linux/kdb.h index ccb2b3ec0fe8..ea6e5244ed3f 100644 --- a/include/linux/kdb.h +++ b/include/linux/kdb.h @@ -114,4 +114,8 @@ enum { KDB_INIT_EARLY, KDB_INIT_FULL, }; + +extern int kdbgetintenv(const char *, int *); +extern int kdb_set(int, const char **); + #endif /* !_KDB_H */ |