- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Wed, 16 Feb 2005 17:01:03 +0000
On 16/02/05 15:21, Bob Apodaca wrote:
> diff -u --recursive comedi-0.7.69.orig/include/linux/sched.h comedi-0.7.69/include/linux/sched.h
> --- comedi-0.7.69.orig/include/linux/sched.h Fri Oct 1 17:01:55 2004
> +++ comedi-0.7.69/include/linux/sched.h Wed Feb 16 07:56:58 2005
> _at__at_ -12,13 +12,14 _at__at_
> #endif
>
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20) /* not sure exactly when need_resched() was added */
> +
> +#include_next <linux/sched.h>
> +
> static inline int need_resched(void)
> {
> return current->need_resched;
> }
> #endif
>
> -#include_next <linux/sched.h>
> -
> #endif
You moved the #include_next to the wrong place, but don't worry - it's
already fixed in CVS.
--
-=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Received on 2005-02-16Z17:01:03