Module: xenomai-2.6
Branch: master
Commit: fcd67bfa9eb89dbb5ccc1bc163fd1310550f0b55
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=fcd67bfa9eb89dbb5ccc1bc163fd1310550f0b55

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Dec 20 09:49:38 2012 +0100

powerpc/atomic: fix 64bit build

---

 include/asm-powerpc/atomic_asm.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/asm-powerpc/atomic_asm.h b/include/asm-powerpc/atomic_asm.h
index 55333b7..68d9914 100644
--- a/include/asm-powerpc/atomic_asm.h
+++ b/include/asm-powerpc/atomic_asm.h
@@ -97,10 +97,11 @@ void atomic_clear_mask(unsigned long mask, unsigned long 
*ptr);
 
 typedef atomic_t atomic_counter_t;
 typedef atomic_t xnarch_atomic_t;
-typedef unsigned long atomic_flags_t;
 
 #endif /* !CONFIG_PPC64 */
 
+typedef unsigned long atomic_flags_t;
+
 #else /* !__KERNEL__ */
 
 #ifndef __powerpc64__


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to