From: Kevin Hilman Date: Wed, 7 Apr 2010 18:52:46 +0000 (-0700) Subject: rwsem generic spinlock: use IRQ save/restore spinlocks X-Git-Tag: v2.6.34-rc4~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eac4abaa69949af0e2f64e5c55ee8a22bbdd3e7;p=pandora-kernel.git rwsem generic spinlock: use IRQ save/restore spinlocks rwsems can be used with IRQs disabled, particularily in early boot before IRQs are enabled. Currently the spin_unlock_irq() usage in the slow-patch will unconditionally enable interrupts and cause problems since interrupts are not yet initialized or enabled. This patch uses save/restore versions of IRQ spinlocks in the slowpath to ensure interrupts are not unintentionally disabled. Signed-off-by: Kevin Hilman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed