Messages in this thread Patch in this message | | | Date | Thu, 6 Jul 2000 11:38:12 +0200 | From | Jesper Skov <> | Subject | [PATCH test2] fix serial.c compile warning |
| |
break_pressed is only used in regions with extra conditionals compared to sercons.
Jesper
--- /local/linux/linux-dist/linux-2.4.0-test2/drivers/char/serial.c Thu Jul 6 11:06:39 2000 +++ serial.c Thu Jul 6 11:29:23 2000 @@ -253,8 +258,10 @@ static int IRQ_timeout[NR_IRQS]; #ifdef CONFIG_SERIAL_CONSOLE static struct console sercons; +#if defined(CONFIG_MAGIC_SYSRQ) && !defined(MODULE) static unsigned long break_pressed; /* break, really ... */ #endif +#endif static unsigned detect_uart_irq (struct serial_state * state); static void autoconfig(struct serial_state * state); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |