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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Jan  1 22:53:11 2012 +0100

nucleus/shadow: drop useless xnarch_schedule_tail() wrapper

---

 include/asm-arm/bits/shadow.h      |    2 --
 include/asm-blackfin/bits/shadow.h |    2 --
 include/asm-nios2/bits/shadow.h    |    2 --
 include/asm-powerpc/bits/shadow.h  |    2 --
 include/asm-sh/bits/shadow.h       |    2 --
 include/asm-x86/bits/shadow_32.h   |    4 ----
 include/asm-x86/bits/shadow_64.h   |    4 ----
 kernel/cobalt/nucleus/shadow.c     |    2 --
 8 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/include/asm-arm/bits/shadow.h b/include/asm-arm/bits/shadow.h
index ccc3fcb..08a0b06 100644
--- a/include/asm-arm/bits/shadow.h
+++ b/include/asm-arm/bits/shadow.h
@@ -112,8 +112,6 @@ int xnarch_local_syscall(unsigned long a1, unsigned long a2,
        return error;
 }
 
-#define xnarch_schedule_tail(prev) do { } while(0)
-
 static inline void xnarch_setup_mayday_page(void *page)
 {
        /*
diff --git a/include/asm-blackfin/bits/shadow.h 
b/include/asm-blackfin/bits/shadow.h
index 715ecc7..baa33eb 100644
--- a/include/asm-blackfin/bits/shadow.h
+++ b/include/asm-blackfin/bits/shadow.h
@@ -65,8 +65,6 @@ int xnarch_local_syscall(unsigned long a1, unsigned long a2,
        return 0;
 }
 
-#define xnarch_schedule_tail(prev) do { } while(0)
-
 static inline void xnarch_setup_mayday_page(void *page)
 {
        /*
diff --git a/include/asm-nios2/bits/shadow.h b/include/asm-nios2/bits/shadow.h
index 822750e..d3d84cd 100644
--- a/include/asm-nios2/bits/shadow.h
+++ b/include/asm-nios2/bits/shadow.h
@@ -68,8 +68,6 @@ int xnarch_local_syscall(unsigned long a1, unsigned long a2,
        return 0;
 }
 
-#define xnarch_schedule_tail(prev) do { } while(0)
-
 static inline void xnarch_setup_mayday_page(void *page)
 {
        /*
diff --git a/include/asm-powerpc/bits/shadow.h 
b/include/asm-powerpc/bits/shadow.h
index bc17671..6892b5e 100644
--- a/include/asm-powerpc/bits/shadow.h
+++ b/include/asm-powerpc/bits/shadow.h
@@ -63,8 +63,6 @@ int xnarch_local_syscall(void)
        return -ENOSYS;
 }
 
-#define xnarch_schedule_tail(prev) do { } while(0)
-
 static inline void xnarch_setup_mayday_page(void *page)
 {
        /*
diff --git a/include/asm-sh/bits/shadow.h b/include/asm-sh/bits/shadow.h
index 845c159..e7f3178 100644
--- a/include/asm-sh/bits/shadow.h
+++ b/include/asm-sh/bits/shadow.h
@@ -53,8 +53,6 @@ static inline int xnarch_local_syscall(struct pt_regs *regs)
        return -ENOSYS;
 }
 
-#define xnarch_schedule_tail(prev) do { } while(0)
-
 static inline void xnarch_setup_mayday_page(void *page)
 {
        u16 insn[11];
diff --git a/include/asm-x86/bits/shadow_32.h b/include/asm-x86/bits/shadow_32.h
index 828f199..c88f73b 100644
--- a/include/asm-x86/bits/shadow_32.h
+++ b/include/asm-x86/bits/shadow_32.h
@@ -44,10 +44,6 @@ int xnarch_local_syscall(void)
        return -ENOSYS;
 }
 
-static void xnarch_schedule_tail(struct task_struct *prev)
-{
-}
-
 static inline void xnarch_setup_mayday_page(void *page)
 {
        /*
diff --git a/include/asm-x86/bits/shadow_64.h b/include/asm-x86/bits/shadow_64.h
index 58909eb..f338a8c 100644
--- a/include/asm-x86/bits/shadow_64.h
+++ b/include/asm-x86/bits/shadow_64.h
@@ -48,10 +48,6 @@ int xnarch_local_syscall(void)
        return -ENOSYS;
 }
 
-static void xnarch_schedule_tail(struct task_struct *prev)
-{
-}
-
 static inline void xnarch_setup_mayday_page(void *page)
 {
        /*
diff --git a/kernel/cobalt/nucleus/shadow.c b/kernel/cobalt/nucleus/shadow.c
index 03357e7..e87445a 100644
--- a/kernel/cobalt/nucleus/shadow.c
+++ b/kernel/cobalt/nucleus/shadow.c
@@ -571,8 +571,6 @@ redo:
        xnpod_switch_fpu(sched);
 #endif /* CONFIG_XENO_HW_FPU */
 
-       xnarch_schedule_tail(this_task);
-
        if (xnthread_signaled_p(thread))
                xnpod_dispatch_signals();
 


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

Reply via email to