projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3156054
)
[PATCH] bitops: cris: remove unnecessary local_irq_restore()
author
Akinobu Mita
<mita@miraclelinux.com>
Sun, 26 Mar 2006 09:39:04 +0000
(
01:39
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:10 +0000
(08:57 -0800)
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>
include/asm-cris/bitops.h
patch
|
blob
|
history
diff --git
a/include/asm-cris/bitops.h
b/include/asm-cris/bitops.h
index b7fef1572dc0f52d34ad9efa7eae87faf3ac684a..f8a6747693148350c3cce205b29bf82f6fa0a5f6 100644
(file)
--- 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;
}