Module: xenomai-gch
Branch: for-head
Commit: c84d901956b1331fbe965256b934cab42f96ac43
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c84d901956b1331fbe965256b934cab42f96ac43

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Oct 24 15:37:35 2009 +0200

blackfin: downgrade to non-atomic bitop when applicable

---

 ksrc/arch/generic/hal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/arch/generic/hal.c b/ksrc/arch/generic/hal.c
index 9bb0020..4d2fd38 100644
--- a/ksrc/arch/generic/hal.c
+++ b/ksrc/arch/generic/hal.c
@@ -527,7 +527,7 @@ int rthal_apc_alloc(const char *name,
 
     if (rthal_apc_map != ~0) {
         apc = ffz(rthal_apc_map);
-        set_bit(apc, &rthal_apc_map);
+        __set_bit(apc, &rthal_apc_map);
         rthal_apc_table[apc].handler = handler;
         rthal_apc_table[apc].cookie = cookie;
         rthal_apc_table[apc].name = name;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to