This is the start of migrating the working of the linuxconsole project to the mainline kernel.
This first patch moves kmsg_redirect to vt_kern.h thus making tty.h independent of anything from the VT layer. Tested on my local system. Comments welcomed. Signed-Off: James Simmons <[EMAIL PROTECTED]> diff --git a/include/linux/tty.h b/include/linux/tty.h index dee72b9..8661b16 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -280,8 +280,6 @@ extern void tty_write_flush(struct tty_struct *); extern struct ktermios tty_std_termios; -extern int kmsg_redirect; - extern void console_init(void); extern int vcs_init(void); diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index e0db669..5a08774 100644 --- a/include/linux/vt_kern.h +++ b/include/linux/vt_kern.h @@ -26,7 +26,7 @@ extern void kd_mksound(unsigned int hz, unsigned int ticks); extern int kbd_rate(struct kbd_repeat *rep); -extern int fg_console, last_console, want_console; +extern int fg_console, last_console, want_console, kmsg_redirect; /* console.c */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

