summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2004-08-22 22:56:09 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 22:56:09 -0700
commit87ff5642a855361eeeafafecf6e67898e706319d (patch)
tree1d9bb1f504e8625fd1cecea38d55974724567d75 /include/linux
parent81ca0296edb7b1ab4ea588159cca4cac0215a73e (diff)
[PATCH] Fix CON_BUF_SIZE usage
Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/vt_kern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h
index 383a93cbbeeb..6dbef2f8445a 100644
--- a/include/linux/vt_kern.h
+++ b/include/linux/vt_kern.h
@@ -93,8 +93,8 @@ void reset_vc(unsigned int new_console);
* vc_screen.c shares this temporary buffer with the console write code so that
* we can easily avoid touching user space while holding the console spinlock.
*/
-extern char con_buf[PAGE_SIZE];
#define CON_BUF_SIZE PAGE_SIZE
+extern char con_buf[CON_BUF_SIZE];
extern struct semaphore con_buf_sem;
#endif /* _VT_KERN_H */