summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAkinobu Mita <mita@miraclelinux.com>2006-03-26 13:39:04 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 20:57:10 +0400
commit72b61a3cfd80d1321eb898be8ceae2064f0fbea1 (patch)
tree67b9eccba0fce5b03814ae6468acde4616417f3d /include
parent3156054b02e263387d6cd27fd1b05eba2bc25459 (diff)
downloadlinux-72b61a3cfd80d1321eb898be8ceae2064f0fbea1.tar.xz
[PATCH] bitops: cris: remove unnecessary local_irq_restore()
remove unnecessary local_irq_restore() after cris_atomic_restore() in test_and_set_bit(). Signed-off-by: Akinobu Mita <mita@miraclelinux.com> Cc: Mikael Starvik <starvik@axis.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-cris/bitops.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-cris/bitops.h b/include/asm-cris/bitops.h
index b7fef1572dc0..f8a674769314 100644
--- a/include/asm-cris/bitops.h
+++ b/include/asm-cris/bitops.h
@@ -101,7 +101,6 @@ static inline int test_and_set_bit(int nr, volatile unsigned long *addr)
retval = (mask & *adr) != 0;
*adr |= mask;
cris_atomic_restore(addr, flags);
- local_irq_restore(flags);
return retval;
}