lkml.org 
[lkml]   [2008]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2008-08-04 20:21    [W:0.026 / U:59.880 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site