diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/vt_kern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index cb18320adb16..dc392a1b58eb 100644 --- a/include/linux/vt_kern.h +++ b/include/linux/vt_kern.h @@ -84,7 +84,8 @@ void reset_vc(struct vc_data *vc); * 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. */ -#define CON_BUF_SIZE PAGE_SIZE + +#define CON_BUF_SIZE (CONFIG_BASE_SMALL ? 256 : PAGE_SIZE) extern char con_buf[CON_BUF_SIZE]; extern struct semaphore con_buf_sem; |
