[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120906163613.GA28140@kroah.com>
Date: Thu, 6 Sep 2012 09:36:13 -0700
From: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
To: "Liu, Chuansheng" <chuansheng.liu@...el.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"stern@...land.harvard.edu" <stern@...land.harvard.edu>
Subject: Re: [PATCH RESEND] USB/host: Cleanup unneccessary irq disable code
On Thu, Sep 06, 2012 at 02:00:16AM +0000, Liu, Chuansheng wrote:
> Because the IRQF_DISABLED as the flag is now a NOOP and has been
> deprecated and in hardirq context the interrupt is disabled.
>
> so in usb/host code:
> Removing the usage of flag IRQF_DISABLED;
> Removing the calling local_irq save/restore actions in irq
> handler usb_hcd_irq();
>
> Signed-off-by: liu chuansheng <chuansheng.liu@...el.com>
> Acked-by: Alan Stern <stern@...land.harvard.edu>
> ---
> drivers/usb/core/hcd.c | 15 ---------------
> drivers/usb/host/ehci-ls1x.c | 2 +-
> drivers/usb/host/ohci-xls.c | 2 +-
> 3 files changed, 2 insertions(+), 17 deletions(-)
>
> diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
> index bc84106..f84ddea 100644
> --- a/drivers/usb/core/hcd.c
> +++ b/drivers/usb/core/hcd.c
> @@ -2153,15 +2153,8 @@ EXPORT_SYMBOL_GPL(usb_bus_start_enum);
> irqreturn_t usb_hcd_irq (int irq, void *__hcd)
> {
> struct usb_hcd *hcd = __hcd;
> - unsigned long flags;
> irqreturn_t rc;
All of your whitespace is broken, making this patch impossible to apply.
As I asked before, please fix this.
greg k-h
--
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