[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120305.165105.1278606832898736557.davem@davemloft.net>
Date: Mon, 05 Mar 2012 16:51:05 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: santoshprasadnayak@...il.com
Cc: jitendra.kalsaria@...gic.com, ron.mercer@...gic.com,
linux-driver@...gic.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 1/3] qla3xxx: ethernet: Fix bogus interrupt state flag.
From: santosh nayak <santoshprasadnayak@...il.com>
Date: Fri, 2 Mar 2012 20:39:05 +0530
> From: Santosh Nayak <santoshprasadnayak@...il.com>
>
> In 'ql_adapter_initialize'
> the first call for 'spin_unlock_irqrestore()' is with hw_flags = 0,
> which is as good as 'spin_unlock_irq()' (unconditional interrupt
> enabling). If this is intended, then for better performance
> 'spin_unlock_irqrestore()' can be replaced with 'spin_unlock_irq()'
> and 'spin_lock_irqsave()' can be replaced by 'spin_lock_irq()
>
> Signed-off-by: Santosh Nayak <santoshprasadnayak@...il.com>
This change is definitely correct, applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists