Module: xenomai-rpm
Branch: queue/mayday
Commit: 20dcd170c81a074eb0a12664f21d6213951fb9f2
URL:    
http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=20dcd170c81a074eb0a12664f21d6213951fb9f2

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Jun  4 16:32:43 2010 +0200

hal/generic: always track switch to foreign stack

We do want to let the I-pipe know when we switch to a non-linux stack,
always.  So remove the condition on CONFIG_KGDB for tracking such
change.

---

 include/asm-generic/hal.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/include/asm-generic/hal.h b/include/asm-generic/hal.h
index 84c1a4d..f03219d 100644
--- a/include/asm-generic/hal.h
+++ b/include/asm-generic/hal.h
@@ -318,14 +318,8 @@ static inline void clear_task_nowakeup(struct task_struct 
*p)
 #define rthal_disable_ondemand_mappings(tsk)   (0)
 #endif /* !(VM_PINNED || MMF_VM_PINNED) */
 
-#ifdef CONFIG_KGDB
 #define rthal_set_foreign_stack(ipd)   ipipe_set_foreign_stack(ipd)
 #define rthal_clear_foreign_stack(ipd) ipipe_clear_foreign_stack(ipd)
-#else /* !CONFIG_KGDB */
-/* No need to track foreign stacks unless KGDB is active. */
-#define rthal_set_foreign_stack(ipd)   do { } while(0)
-#define rthal_clear_foreign_stack(ipd) do { } while(0)
-#endif /* CONFIG_KGDB */
 
 #define rthal_catch_cleanup(hdlr)         \
     ipipe_catch_event(ipipe_root_domain,IPIPE_EVENT_CLEANUP,hdlr)


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

Reply via email to