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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Jul 20 09:13:20 2015 +0200

cobalt/x86: fix missing early clobber in asm

Detected with gcc 5.1.1 20150618 (Red Hat 5.1.1-4).

---

 kernel/cobalt/arch/x86/include/asm/xenomai/uapi/arith.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/arch/x86/include/asm/xenomai/uapi/arith.h 
b/kernel/cobalt/arch/x86/include/asm/xenomai/uapi/arith.h
index 1cf6b08..3682736 100644
--- a/kernel/cobalt/arch/x86/include/asm/xenomai/uapi/arith.h
+++ b/kernel/cobalt/arch/x86/include/asm/xenomai/uapi/arith.h
@@ -117,7 +117,7 @@ mach_x86_32_ulldiv(const unsigned long long ull,
                "mov  %[__s],%%ecx\n\t"                                 \
                "shrd %%cl,%%edx,%%eax\n\t"                             \
                "shrd %%cl,%[__hi],%%edx\n\t"                           \
-               : "=A" (__ret), [__lo] "=r" (__lo), [__hi] "=r" (__hi)  \
+               : "=A" (__ret), [__lo] "=&r" (__lo), [__hi] "=&r" (__hi) \
                : "A" (ll), [__m] "m" (m), [__s] "m" (s)                \
                : "ecx");                                               \
        __ret;                                                          \


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

Reply via email to