From: Dan Carpenter Date: Wed, 11 Jul 2012 21:02:38 +0000 (-0700) Subject: sgi-xp: nested calls to spin_lock_irqsave() X-Git-Tag: v3.5-rc7~23^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8875408abd935a77b6e1cb11c21c438aa2e7ec75;p=pandora-kernel.git sgi-xp: nested calls to spin_lock_irqsave() The code here has a nested spin_lock_irqsave(). It's not needed since IRQs are already disabled and it causes a problem because it means that IRQs won't be enabled again at the end. The second call to spin_lock_irqsave() will overwrite the value of irq_flags and we can't restore the proper settings. Signed-off-by: Dan Carpenter Signed-off-by: Robin Holt Cc: Jack Steiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed