[PATCH] need_resched compatibility

This patch alters the Comedi driver's linux/sched.h compatibility header 
to move the need_resched function after the #include_next directive. 
This is because the 'current' task variable is not defined until after 
the real linux/sched.h is included.  I've also removed the comment - "/* 
not sure exactly when need_resched() was added */"; I've checked, and it 
was added in 2.4.20 as the code stated.  I thought I'd fix the incorrect 
comment at the top of the file while I was at it.

I want to add some more stuff to this compatibility header, but wanted 
to keep this change separate.

Cheers,
Ian.

-- 
-=( 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-04Z18:08:47