[PATCH] asm-i386/atomic.h: local_irq_save should be used instead of local_irq_disable
authorlepton <ytht.net@gmail.com>
Wed, 19 Apr 2006 05:21:10 +0000 (22:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 19 Apr 2006 16:13:50 +0000 (09:13 -0700)
commit1bb858f27eadc54e24dfa351fcae724cff426de2
tree2c0812570c3a063cf1a0d6f334218e3dc1cce115
parentab5703b34237da7034800ec2466ceebf88a7e685
[PATCH] asm-i386/atomic.h: local_irq_save should be used instead of local_irq_disable

atomic_add_return() if CONFIG_M386 can accidentally enable local interrupts.

Signed-off-by: Lepton Wu <ytht.net@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/atomic.h