From: Felipe Balbi Date: Thu, 6 Sep 2012 12:45:30 +0000 (+0300) Subject: serial: omap: don't save IRQ flags on hardirq X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c3a30c7fbed820f65d5e708f1e83468d8ec9921;p=pandora-kernel.git serial: omap: don't save IRQ flags on hardirq When we're running our hardirq handler, there's not need to disable IRQs with spin_lock_irqsave() because IRQs are already disabled. It also makes no difference if we save or not IRQ flags. Switch over to simple spin_lock/spin_unlock and drop the "flags" variable. Tested-by: Shubhrajyoti D Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed