The patch titled introduce write_trylock_irqsave() has been removed from the -mm tree. Its filename was introduce-write_trylock_irqsave.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: introduce write_trylock_irqsave() From: Satyam Sharma <ssatyam@xxxxxxxxxxxxxx> Introduce a write_trylock_irqsave() implementation. Similar in style to the implementation of spin_trylock_irqsave() in mainline. Signed-off-by: Satyam Sharma <ssatyam@xxxxxxxxxxxxxx> Cc: Sripathi Kodi <sripathik@xxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/spinlock.h | 7 +++++++ 1 file changed, 7 insertions(+) diff -puN include/linux/spinlock.h~introduce-write_trylock_irqsave include/linux/spinlock.h --- a/include/linux/spinlock.h~introduce-write_trylock_irqsave +++ a/include/linux/spinlock.h @@ -282,6 +282,13 @@ do { \ 1 : ({ local_irq_restore(flags); 0; }); \ }) +#define write_trylock_irqsave(lock, flags) \ +({ \ + local_irq_save(flags); \ + write_trylock(lock) ? \ + 1 : ({ local_irq_restore(flags); 0; }); \ +}) + /* * Locks two spinlocks l1 and l2. * l1_first indicates if spinlock l1 should be taken first. _ Patches currently in -mm which might be from ssatyam@xxxxxxxxxxxxxx are origin.patch git-ocfs2.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html