summaryrefslogtreecommitdiffstats
path: root/lib/argv_split.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2010-04-07 11:52:46 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-04-07 16:15:05 -0700
commit3eac4abaa69949af0e2f64e5c55ee8a22bbdd3e7 (patch)
tree9620ae3c39a0870a010a08166e29823a7afbf262 /lib/argv_split.c
parent04287f975e68038051eb9c79896866d36610b8e0 (diff)
downloadlinux-3eac4abaa69949af0e2f64e5c55ee8a22bbdd3e7.tar.bz2
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>
Diffstat (limited to 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions