lkml.org 
[lkml]   [2009]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 51/51] powerpc/5200: Dont specify IRQF_SHARED in PSC UART driver
    2.6.29-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Grant Likely <grant.likely@secretlab.ca>

    commit d9f0c5f9bc74f16d0ea0f6c518b209e48783a796 upstream.

    The MPC5200 PSC device is wired up to a dedicated interrupt line
    which is never shared. This patch removes the IRQF_SHARED flag
    from the request_irq() call which eliminates the "IRQF_DISABLED
    is not guaranteed on shared IRQs" warning message from the console
    output.

    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
    Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/serial/mpc52xx_uart.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/serial/mpc52xx_uart.c
    +++ b/drivers/serial/mpc52xx_uart.c
    @@ -522,7 +522,7 @@ mpc52xx_uart_startup(struct uart_port *p

    /* Request IRQ */
    ret = request_irq(port->irq, mpc52xx_uart_int,
    - IRQF_DISABLED | IRQF_SAMPLE_RANDOM | IRQF_SHARED,
    + IRQF_DISABLED | IRQF_SAMPLE_RANDOM,
    "mpc52xx_psc_uart", port);
    if (ret)
    return ret;



    \
     
     \ /
      Last update: 2009-05-15 01:05    [W:2.644 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site