introduce write_trylock_irqsave()
authorSatyam Sharma <ssatyam@cse.iitk.ac.in>
Mon, 16 Jul 2007 06:39:24 +0000 (23:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:40 +0000 (09:05 -0700)
commite1f4a88c5a15a86124a95ea712213bb7dab2ad99
tree7ec29d5eb850629ee11c2ec8cc467877430e9039
parentb5d425c97f7d4e92151167b01ca038e7853c6b37
introduce write_trylock_irqsave()

Introduce a write_trylock_irqsave() implementation.  Similar in style to
the implementation of spin_trylock_irqsave() in mainline.

Signed-off-by: Satyam Sharma <ssatyam@cse.iitk.ac.in>
Cc: Sripathi Kodi <sripathik@in.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/spinlock.h