Module: xenomai-jki
Branch: for-upstream
Commit: 6b40653e9c3c4a2433bb4e91344fc378eb860f75
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=6b40653e9c3c4a2433bb4e91344fc378eb860f75

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Wed Feb 10 13:24:29 2010 +0100

Make xnarch_init_timeconv an uninlined weak function

Otherwise the wrong set of time conversion variables might get
initialized when using > 1 skin libraries.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 include/asm-generic/bits/timeconv.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/asm-generic/bits/timeconv.h 
b/include/asm-generic/bits/timeconv.h
index fde8e5d..d1da798 100644
--- a/include/asm-generic/bits/timeconv.h
+++ b/include/asm-generic/bits/timeconv.h
@@ -100,7 +100,8 @@ unsigned long long xnarch_divrem_billion(unsigned long long 
value,
 }
 #endif /* !XNARCH_HAVE_NODIV_LLIMD */
 
-static inline void xnarch_init_timeconv(unsigned long long freq)
+__attribute__ ((weak))
+void xnarch_init_timeconv(unsigned long long freq)
 {
        clockfreq = freq;
 #ifdef XNARCH_HAVE_LLMULSHFT


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

Reply via email to