From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [patch] rtdm without CONFIG_XENO_OPT_PERVASIVE
Date: Fri, 21 Oct 2005 19:42:14 +0200 [thread overview]
Message-ID: <43592876.10001@domain.hid> (raw)
In-Reply-To: <43581E3B.7050005@domain.hid>
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.
prev parent reply other threads:[~2005-10-21 17:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43592876.10001@domain.hid \
--to=rpm@xenomai.org \
--cc=kiszka@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.