[Xenomai-git] Alexis Berlemont : analogy: do not export static variables

2009-12-16 Thread GIT version control
Module: xenomai-gch
Branch: for-head
Commit: c7ce097706ef4eaa252b06f49c448ada945cae3a
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c7ce097706ef4eaa252b06f49c448ada945cae3a

Author: Alexis Berlemont alexis.berlem...@gmail.com
Date:   Thu Dec 17 00:30:38 2009 +0100

analogy: do not export static variables

---

 ksrc/drivers/analogy/national_instruments/mite.c |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/ksrc/drivers/analogy/national_instruments/mite.c 
b/ksrc/drivers/analogy/national_instruments/mite.c
index 3aa89a3..fd815fe 100644
--- a/ksrc/drivers/analogy/national_instruments/mite.c
+++ b/ksrc/drivers/analogy/national_instruments/mite.c
@@ -791,7 +791,6 @@ EXPORT_SYMBOL(mite_sync_input_dma);
 EXPORT_SYMBOL(mite_sync_output_dma);
 EXPORT_SYMBOL(mite_setup);
 EXPORT_SYMBOL(mite_unsetup);
-EXPORT_SYMBOL(mite_devices);
 EXPORT_SYMBOL(mite_list_devices);
 EXPORT_SYMBOL(mite_request_channel_in_range);
 EXPORT_SYMBOL(mite_release_channel);


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


[Xenomai-git] Philippe Gerum : wrappers: fix definition of phys_addr_t

2009-12-16 Thread GIT version control
Module: xenomai-gch
Branch: for-head
Commit: b7450895005edf7c61ef32f32b8fa6e8cfa4f6cd
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=b7450895005edf7c61ef32f32b8fa6e8cfa4f6cd

Author: Philippe Gerum r...@xenomai.org
Date:   Wed Dec 16 01:08:21 2009 +0100

wrappers: fix definition of phys_addr_t

---

 include/asm-generic/wrappers.h |6 --
 include/asm-powerpc/wrappers.h |4 
 include/asm-x86/wrappers_32.h  |4 
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h
index 198d882..ae36932 100644
--- a/include/asm-generic/wrappers.h
+++ b/include/asm-generic/wrappers.h
@@ -319,16 +319,10 @@ static inline unsigned long hweight_long(unsigned long w)
 unsigned long find_next_bit(const unsigned long *addr,
 unsigned long size, unsigned long offset);
 
-typedef phys_addr_t resource_size_t;
-
 #define mmiowb()   barrier()
 
 #else /* LINUX_VERSION_CODE = KERNEL_VERSION(2,6,0) */
 
-#if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,28)
-typedef unsigned long phys_addr_t;
-#endif
-
 #define compat_module_param_array(name, type, count, perm) \
module_param_array(name, type, NULL, perm)
 
diff --git a/include/asm-powerpc/wrappers.h b/include/asm-powerpc/wrappers.h
index 7d98539..edab86c 100644
--- a/include/asm-powerpc/wrappers.h
+++ b/include/asm-powerpc/wrappers.h
@@ -30,6 +30,8 @@
 
 #if LINUX_VERSION_CODE  KERNEL_VERSION(2,5,0)
 
+#include asm/mmu.h
+
 #define CONFIG_MMU 1
 
 #define wrap_phys_mem_prot(filp,pfn,size,prot)  \
@@ -53,6 +55,8 @@ static __inline__ int fls(unsigned int x)
return 32 - lz;
 }
 
+typedef phys_addr_t resource_size_t;
+
 #else /*  LINUX_VERSION_CODE = KERNEL_VERSION(2,5,0)  */
 
 #define wrap_phys_mem_prot(filp,pfn,size,prot) \
diff --git a/include/asm-x86/wrappers_32.h b/include/asm-x86/wrappers_32.h
index d16cf6d..90ccdc1 100644
--- a/include/asm-x86/wrappers_32.h
+++ b/include/asm-x86/wrappers_32.h
@@ -78,6 +78,10 @@ static inline int fls(int x)
return r+1;
 }
 
+typedef unsigned long phys_addr_t;
+
+typedef phys_addr_t resource_size_t;
+
 #else /*  LINUX_VERSION_CODE = KERNEL_VERSION(2,5,0)  */
 
 #define wrap_phys_mem_prot(filp,pfn,size,prot)  (prot)


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


[Xenomai-git] Gilles Chanteperdrix : xconfig 2.4: make xconfig work again with linux 2.4

2009-12-16 Thread GIT version control
Module: xenomai-gch
Branch: for-head
Commit: d8915bd0db57924b37fee114625e5933a2a608c4
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=d8915bd0db57924b37fee114625e5933a2a608c4

Author: Gilles Chanteperdrix gilles.chanteperd...@xenomai.org
Date:   Tue Dec 15 06:30:59 2009 +0100

xconfig 2.4: make xconfig work again with linux 2.4

---

 ksrc/drivers/analogy/intel/Config.in |2 +-
 ksrc/drivers/testing/Config.in   |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ksrc/drivers/analogy/intel/Config.in 
b/ksrc/drivers/analogy/intel/Config.in
index 306e01b..5e91783 100644
--- a/ksrc/drivers/analogy/intel/Config.in
+++ b/ksrc/drivers/analogy/intel/Config.in
@@ -5,6 +5,6 @@
 
 dep_tristate '8255 driver' CONFIG_XENO_DRIVERS_ANALOGY_8255 
$CONFIG_XENO_DRIVERS_ANALOGY
 
-if [ $CONFIG_X86 == y ]; then 
+if [ $CONFIG_X86 = y ]; then 
dep_tristate 'standard parallel port driver' 
CONFIG_XENO_DRIVERS_ANALOGY_PARPORT $CONFIG_XENO_DRIVERS_ANALOGY
 fi
diff --git a/ksrc/drivers/testing/Config.in b/ksrc/drivers/testing/Config.in
index 1c8ec2c..07bd900 100644
--- a/ksrc/drivers/testing/Config.in
+++ b/ksrc/drivers/testing/Config.in
@@ -11,8 +11,8 @@ dep_tristate 'IRQ benchmark driver' 
CONFIG_XENO_DRIVERS_IRQBENCH $CONFIG_XENO_SK
 
 dep_tristate 'Context switches test driver' CONFIG_XENO_DRIVERS_SWITCHTEST 
$CONFIG_XENO_SKIN_RTDM
 
-dep_tristate 'Kernel-only latency measurement module' 
CONFIG_XENO_DRIVERS_KLATENCY $XENO_DRIVERS_TIMERBENCH
+dep_tristate 'Kernel-only latency measurement module' 
CONFIG_XENO_DRIVERS_KLATENCY $CONFIG_XENO_DRIVERS_TIMERBENCH m
 
-dep_tristate 'User-space real-time signals testing module' 
CONFIG_XENO_DRIVERS_SIGTEST
+dep_tristate 'User-space real-time signals testing module' 
CONFIG_XENO_DRIVERS_SIGTEST $CONFIG_MODULES m
 
 endmenu


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