[kernel] refresh generic-2.4 patches
[openwrt.git] / target / linux / generic-2.4 / patches / 210-fix-irq-serial.patch
1 Index: linux-2.4.35.4/drivers/char/serial.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/drivers/char/serial.c
4 +++ linux-2.4.35.4/drivers/char/serial.c
5 @@ -5458,18 +5458,6 @@ static int __init rs_init(void)
6                        sizeof(struct rs_multiport_struct));
7  #endif
8         }
9 -#ifdef CONFIG_SERIAL_CONSOLE
10 -       /*
11 -        *      The interrupt of the serial console port
12 -        *      can't be shared.
13 -        */
14 -       if (sercons.flags & CON_CONSDEV) {
15 -               for(i = 0; i < NR_PORTS; i++)
16 -                       if (i != sercons.index &&
17 -                           rs_table[i].irq == rs_table[sercons.index].irq)
18 -                               rs_table[i].irq = 0;
19 -       }
20 -#endif
21         show_serial_version();
22  
23         /* Initialize the tty_driver structure */