From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH] __deprecated not defined for Linux 2.4
Date: Mon, 09 Jul 2007 16:59:54 +0200 [thread overview]
Message-ID: <1183993194.6014.87.camel@domain.hid> (raw)
In-Reply-To: <46924B1B.1010308@domain.hid>
On Mon, 2007-07-09 at 16:50 +0200, Jan Kiszka wrote:
> Philippe Gerum wrote:
> > On Mon, 2007-07-09 at 16:45 +0200, Wolfgang Grandegger wrote:
> >> Hello,
> >>
> >> the attached patch changes:
> >>
> >> 2007-07-09 Wolfgang Grandegger <wg@domain.hid>
> >>
> >> * include/asm-generic/wrappers.h: add __deprecated for Linux 2.4.
> >>
> >
> > Merged, thanks.
>
> You are too fast for me - I was still test-building my approach!
>
> Looks rather like I picked the wrong expression for marking
> rtdm_task_sleep_until deprecated. I would prefer to go for this variant
> and back Wolfgang's patch out again:
__deprecated is going to be useful in backporting 2.6 stuff to 2.4. This
is not only a RTDM issue.
>
> --- include/rtdm/rtdm_driver.h (Revision 2758)
> +++ include/rtdm/rtdm_driver.h (Arbeitskopie)
> @@ -1009,7 +1009,7 @@ rtdm_task_sleep_abs(nanosecs_abs_t wakeu
> }
>
> /* rtdm_task_sleep_abs shall be used instead */
> -static inline int __deprecated
> +static inline int __deprecated_call__
> rtdm_task_sleep_until(nanosecs_abs_t wakeup_time)
> {
> return __rtdm_task_sleep(wakeup_time, XN_REALTIME);
>
>
> But note that I'm still test-building...
>
> Jan
>
--
Philippe.
next prev parent reply other threads:[~2007-07-09 14:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-09 14:45 [Xenomai-core] [PATCH] __deprecated not defined for Linux 2.4 Wolfgang Grandegger
2007-07-09 14:46 ` Philippe Gerum
2007-07-09 14:50 ` Jan Kiszka
2007-07-09 14:59 ` Philippe Gerum [this message]
2007-07-09 15:02 ` Jan Kiszka
2007-07-09 15:09 ` Philippe Gerum
2007-07-09 15:32 ` Wolfgang Grandegger
2007-07-09 15:32 ` Philippe Gerum
2007-07-09 15:11 ` Wolfgang Grandegger
2007-07-09 15:14 ` Jan Kiszka
2007-07-09 15:30 ` Philippe Gerum
2007-07-09 15:57 ` Jan Kiszka
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=1183993194.6014.87.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=jan.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.