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  <[EMAIL PROTECTED]>
>>>
>>>   * 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!

Too fast? My i-Pipe patched Linux 2.4 kernel did simply not built ;-).

> 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:
> 
> --- 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...

OK, __deprecated_call__ does not make trouble with 2.4.

Wolfgang.


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

Reply via email to