Messages in this thread | | | Date | Mon, 4 Aug 2008 11:13:36 -0700 | From | "Yinghai Lu" <> | Subject | Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2 |
| |
On Mon, Aug 4, 2008 at 7:17 AM, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: >> Would allow us to use the generic hash table code. > > Nice.. that makes the code a bit longer in source form but much clearer > and sharing common design. > >> Looks like we can also tweak serial_do_unlink to free irq_info when >> the list goes empty, so we don't have a leak if the driver is ever >> unloaded. > > Like this (again not yet tested) > > 8250: Remove NR_IRQ usage > > From: Alan Cox <alan@redhat.com> > > > --- > > drivers/serial/68328serial.c | 11 +------ > drivers/serial/8250.c | 68 +++++++++++++++++++++++++++++++++--------- > 2 files changed, 56 insertions(+), 23 deletions(-) >
thanks. will test it.
YH
| |