Module: xenomai-forge
Branch: next
Commit: 07e8d9c114b0c9985f4863ce47c1a7b6429e7b17
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=07e8d9c114b0c9985f4863ce47c1a7b6429e7b17

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Aug 29 17:04:03 2014 +0200

cobalt/x86: drop left-over code

---

 lib/cobalt/arch/x86/include/asm/xenomai/syscall.h |   16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/lib/cobalt/arch/x86/include/asm/xenomai/syscall.h 
b/lib/cobalt/arch/x86/include/asm/xenomai/syscall.h
index 68a63ad..21aace1 100644
--- a/lib/cobalt/arch/x86/include/asm/xenomai/syscall.h
+++ b/lib/cobalt/arch/x86/include/asm/xenomai/syscall.h
@@ -75,18 +75,6 @@ asm (".L__X'%ebx = 1\n\t"
      ".endif\n\t"
      ".endm\n\t");
 
-#define __xn_get_eip(dest)                     \
-       ({                                      \
-               __label__ __here;               \
-         __here:                               \
-               *dest = &&__here;               \
-       })
-
-static inline void __xn_get_ebp(void **dest)
-{
-       asm volatile("movl %%ebp, %0": "=m"(*dest));
-}
-
 #define XENOMAI_DO_SYSCALL(nr, op, args...)                    \
 ({                                                             \
        unsigned __resultvar;                                   \
@@ -145,7 +133,7 @@ static inline void __xn_get_ebp(void **dest)
        , "a" (arg1), "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5)
 
 #define XENOMAI_SYSBIND(breq) \
-       XENOMAI_DO_SYSCALL_SAFE(1,sc_cobalt_bind,breq)
+       XENOMAI_DO_SYSCALL_SAFE(1, sc_cobalt_bind, breq)
 
 #else /* x86_64 */
 
@@ -214,7 +202,7 @@ static inline void __xn_get_ebp(void **dest)
        DO_SYSCALL(__xn_syscode(op), nr, args)
 
 #define XENOMAI_SYSBIND(breq) \
-       XENOMAI_DO_SYSCALL(1,sc_cobalt_bind,breq)
+       XENOMAI_DO_SYSCALL(1, sc_cobalt_bind, breq)
 
 #endif /* x86_64 */
 


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

Reply via email to