The patch titled asm-i386/atomic.h: local_irq_save should be used instead of local_irq_disable has been removed from the -mm tree. Its filename is asm-i386-atomich-local_irq_save-should-be-used-instead-of-local_irq_disable.patch This patch was probably dropped from -mm because it has now been merged into a subsystem tree or into Linus's tree, or because it was folded into its parent patch in the -mm tree. From: lepton <ytht.net@xxxxxxxxx> atomic_add_return() if CONFIG_M386 can accidentally enable local interrupts. Signed-off-by: Lepton Wu <ytht.net@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/asm-i386/atomic.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -puN include/asm-i386/atomic.h~asm-i386-atomich-local_irq_save-should-be-used-instead-of-local_irq_disable include/asm-i386/atomic.h --- devel/include/asm-i386/atomic.h~asm-i386-atomich-local_irq_save-should-be-used-instead-of-local_irq_disable 2006-04-18 22:19:59.000000000 -0700 +++ devel-akpm/include/asm-i386/atomic.h 2006-04-18 22:19:59.000000000 -0700 @@ -183,6 +183,7 @@ static __inline__ int atomic_add_return( { int __i; #ifdef CONFIG_M386 + unsigned long flags; if(unlikely(boot_cpu_data.x86==3)) goto no_xadd; #endif @@ -196,10 +197,10 @@ static __inline__ int atomic_add_return( #ifdef CONFIG_M386 no_xadd: /* Legacy 386 processor */ - local_irq_disable(); + local_irq_save(flags); __i = atomic_read(v); atomic_set(v, i + __i); - local_irq_enable(); + local_irq_restore(flags); return i + __i; #endif } _ Patches currently in -mm which might be from ytht.net@xxxxxxxxx are origin.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