All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [patch] rtdm without CONFIG_XENO_OPT_PERVASIVE
@ 2005-10-20 22:46 Jan Kiszka
  2005-10-20 22:55 ` Gilles Chanteperdrix
  2005-10-21 17:42 ` Philippe Gerum
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2005-10-20 22:46 UTC (permalink / raw)
  To: xenomai


[-- Attachment #1.1: Type: text/plain, Size: 103 bytes --]

Hi,

this fixes an unresolved symbol in xeno_rtdm when
CONFIG_XENO_OPT_PERVASIVE is switched off.

Jan

[-- Attachment #1.2: rtdm-no-opt_pervasive.patch --]
[-- Type: text/plain, Size: 2082 bytes --]

Index: skins/rtdm/device.c
===================================================================
--- skins/rtdm/device.c	(Revision 53)
+++ skins/rtdm/device.c	(Arbeitskopie)
@@ -30,7 +30,6 @@
 
 #include <rtdm/device.h>
 #include <rtdm/proc.h>
-#include <rtdm/syscall.h>
 
 
 #define SET_DEFAULT_OP(device, operation)                               \
@@ -68,6 +67,12 @@
 #endif /* CONFIG_SMP */
 
 
+int rtdm_no_support(void)
+{
+    return -ENOSYS;
+}
+
+
 static inline int get_name_hash(const char *str, int limit, int hashkey_mask)
 {
     int hash = 0;
Index: skins/rtdm/GNUmakefile.am
===================================================================
--- skins/rtdm/GNUmakefile.am	(Revision 53)
+++ skins/rtdm/GNUmakefile.am	(Arbeitskopie)
@@ -10,9 +10,12 @@
 	device.c \
 	drvlib.c \
 	module.c \
-	proc.c \
-	syscall.c
+	proc.c
 
+if CONFIG_XENO_OPT_PERVASIVE
+libmodule_SRC += syscall.c
+endif
+
 include_HEADERS = \
 	rtdm.h \
 	rtdm_driver.h \
Index: skins/rtdm/device.h
===================================================================
--- skins/rtdm/device.h	(Revision 53)
+++ skins/rtdm/device.h	(Arbeitskopie)
@@ -40,6 +40,8 @@
 extern struct list_head *rtdm_protocol_devices;
 
 
+int rtdm_no_support(void);
+
 struct rtdm_device *get_named_device(const char *name);
 struct rtdm_device *get_protocol_device(int protocol_family, int socket_type);
 
Index: skins/rtdm/syscall.c
===================================================================
--- skins/rtdm/syscall.c	(Revision 53)
+++ skins/rtdm/syscall.c	(Arbeitskopie)
@@ -26,12 +26,6 @@
 int __rtdm_muxid;
 
 
-int rtdm_no_support(void)
-{
-    return -ENOSYS;
-}
-
-
 static int sys_rtdm_fdcount(struct task_struct *curr, struct pt_regs *regs)
 {
     return fd_count;
Index: skins/rtdm/syscall.h
===================================================================
--- skins/rtdm/syscall.h	(Revision 53)
+++ skins/rtdm/syscall.h	(Arbeitskopie)
@@ -46,8 +46,6 @@
 extern int __rtdm_muxid;
 
 
-int rtdm_no_support(void);
-
 int __init rtdm_syscall_init(void);
 
 static inline void rtdm_syscall_cleanup(void)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] [patch] rtdm without CONFIG_XENO_OPT_PERVASIVE
  2005-10-20 22:46 [Xenomai-core] [patch] rtdm without CONFIG_XENO_OPT_PERVASIVE Jan Kiszka
@ 2005-10-20 22:55 ` Gilles Chanteperdrix
  2005-10-21 17:42 ` Philippe Gerum
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2005-10-20 22:55 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

Jan Kiszka wrote:
 > Hi,
 > 
 > this fixes an unresolved symbol in xeno_rtdm when
 > CONFIG_XENO_OPT_PERVASIVE is switched off.

Applied, as well as its little brother for the posix skin. Thanks.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] [patch] rtdm without CONFIG_XENO_OPT_PERVASIVE
  2005-10-20 22:46 [Xenomai-core] [patch] rtdm without CONFIG_XENO_OPT_PERVASIVE Jan Kiszka
  2005-10-20 22:55 ` Gilles Chanteperdrix
@ 2005-10-21 17:42 ` Philippe Gerum
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2005-10-21 17:42 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

Jan Kiszka wrote:
> Hi,
> 
> this fixes an unresolved symbol in xeno_rtdm when
> CONFIG_XENO_OPT_PERVASIVE is switched off.
>

Applied, thanks.


> Jan
> 
> 
> ------------------------------------------------------------------------
> 
> Index: skins/rtdm/device.c
> ===================================================================
> --- skins/rtdm/device.c	(Revision 53)
> +++ skins/rtdm/device.c	(Arbeitskopie)
> @@ -30,7 +30,6 @@
>  
>  #include <rtdm/device.h>
>  #include <rtdm/proc.h>
> -#include <rtdm/syscall.h>
>  
>  
>  #define SET_DEFAULT_OP(device, operation)                               \
> @@ -68,6 +67,12 @@
>  #endif /* CONFIG_SMP */
>  
>  
> +int rtdm_no_support(void)
> +{
> +    return -ENOSYS;
> +}
> +
> +
>  static inline int get_name_hash(const char *str, int limit, int hashkey_mask)
>  {
>      int hash = 0;
> Index: skins/rtdm/GNUmakefile.am
> ===================================================================
> --- skins/rtdm/GNUmakefile.am	(Revision 53)
> +++ skins/rtdm/GNUmakefile.am	(Arbeitskopie)
> @@ -10,9 +10,12 @@
>  	device.c \
>  	drvlib.c \
>  	module.c \
> -	proc.c \
> -	syscall.c
> +	proc.c
>  
> +if CONFIG_XENO_OPT_PERVASIVE
> +libmodule_SRC += syscall.c
> +endif
> +
>  include_HEADERS = \
>  	rtdm.h \
>  	rtdm_driver.h \
> Index: skins/rtdm/device.h
> ===================================================================
> --- skins/rtdm/device.h	(Revision 53)
> +++ skins/rtdm/device.h	(Arbeitskopie)
> @@ -40,6 +40,8 @@
>  extern struct list_head *rtdm_protocol_devices;
>  
>  
> +int rtdm_no_support(void);
> +
>  struct rtdm_device *get_named_device(const char *name);
>  struct rtdm_device *get_protocol_device(int protocol_family, int socket_type);
>  
> Index: skins/rtdm/syscall.c
> ===================================================================
> --- skins/rtdm/syscall.c	(Revision 53)
> +++ skins/rtdm/syscall.c	(Arbeitskopie)
> @@ -26,12 +26,6 @@
>  int __rtdm_muxid;
>  
>  
> -int rtdm_no_support(void)
> -{
> -    return -ENOSYS;
> -}
> -
> -
>  static int sys_rtdm_fdcount(struct task_struct *curr, struct pt_regs *regs)
>  {
>      return fd_count;
> Index: skins/rtdm/syscall.h
> ===================================================================
> --- skins/rtdm/syscall.h	(Revision 53)
> +++ skins/rtdm/syscall.h	(Arbeitskopie)
> @@ -46,8 +46,6 @@
>  extern int __rtdm_muxid;
>  
>  
> -int rtdm_no_support(void);
> -
>  int __init rtdm_syscall_init(void);
>  
>  static inline void rtdm_syscall_cleanup(void)
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core


-- 

Philippe.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-21 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 22:46 [Xenomai-core] [patch] rtdm without CONFIG_XENO_OPT_PERVASIVE Jan Kiszka
2005-10-20 22:55 ` Gilles Chanteperdrix
2005-10-21 17:42 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.