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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Oct 31 12:32:26 2010 +0100

hal/x86_32: remove redundant stack clean up

---

 include/asm-x86/bits/pod_32.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/asm-x86/bits/pod_32.h b/include/asm-x86/bits/pod_32.h
index 6e79382..b23b6f2 100644
--- a/include/asm-x86/bits/pod_32.h
+++ b/include/asm-x86/bits/pod_32.h
@@ -143,7 +143,6 @@ static inline void xnarch_init_thread(xnarchtcb_t * tcb,
 
        tcb->eip = (unsigned long)&xnarch_thread_redirect;
        tcb->esp = (unsigned long)tcb->stackbase;
-       **psp = 0;              /* Commit bottom stack memory */
        *psp =
                (unsigned long *)(((unsigned long)*psp + tcb->stacksize - 0x10) 
&
                                  ~0xf);


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

Reply via email to