summaryrefslogtreecommitdiffstats
path: root/include/asm-cris
diff options
context:
space:
mode:
authorAkinobu Mita <mita@miraclelinux.com>2006-03-26 01:39:04 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 08:57:10 -0800
commit72b61a3cfd80d1321eb898be8ceae2064f0fbea1 (patch)
tree67b9eccba0fce5b03814ae6468acde4616417f3d /include/asm-cris
parent3156054b02e263387d6cd27fd1b05eba2bc25459 (diff)
downloadop-kernel-dev-72b61a3cfd80d1321eb898be8ceae2064f0fbea1.zip
op-kernel-dev-72b61a3cfd80d1321eb898be8ceae2064f0fbea1.tar.gz
[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/asm-cris')
-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 b7fef15..f8a6747 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;
}
OpenPOWER on IntegriCloud