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

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

hal/arm: remove redundant stack clean up

---

 include/asm-arm/bits/pod.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/asm-arm/bits/pod.h b/include/asm-arm/bits/pod.h
index 71a7330..bd7ff46 100644
--- a/include/asm-arm/bits/pod.h
+++ b/include/asm-arm/bits/pod.h
@@ -113,8 +113,6 @@ static inline void xnarch_init_thread(xnarchtcb_t * tcb,
 
        rthal_local_irq_flags_hw(flags);
 
-       memset(tcb->stackbase, 0, tcb->stacksize);
-
        regs = &tcb->ti.cpu_context;
        memset(regs, 0, sizeof(*regs));
        regs->pc = (unsigned long)&rthal_thread_trampoline;


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

Reply via email to