fix for need_resched from Ian Abbott <abbotti@mev.co.uk>:
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 5 Feb 2005 15:22:01 +0000 (15:22 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 5 Feb 2005 15:22:01 +0000 (15:22 +0000)
commit7c26bec93231c5837afdc0654a123bf78731e5c6
tree952a2015d10c779d3d3c94df957a40c950c74b29
parent9223896e12179a3408d2f181b69922c76e20862f
fix for need_resched from Ian Abbott <abbotti@mev.co.uk>:

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.
include/linux/sched.h