Kevin Hilman 3eac4abaa6 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 <khilman@deeprootsystems.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-04-07 16:15:05 -07:00
..
2008-07-24 10:47:33 -07:00
2010-03-06 11:26:35 -08:00
2009-11-20 20:13:39 +01:00
2009-11-03 16:06:53 +01:00
2009-01-01 10:12:19 +10:30
2009-06-18 13:04:05 -07:00
2009-06-16 19:47:51 -07:00
2009-12-28 10:41:39 +01:00
2008-07-26 12:00:07 -07:00
2009-12-14 23:55:33 +01:00
2010-02-03 17:39:50 +11:00
2009-10-01 21:17:49 +02:00
2009-12-15 08:53:33 -08:00
2008-07-30 16:29:19 -07:00
2010-01-11 09:34:05 -08:00
2010-03-06 11:26:35 -08:00
2008-07-26 12:00:10 -07:00
2010-03-14 20:08:36 -04:00