[PATCH] trivial misc. scheduler cleanups
authorRobert Love <rml@tech9.net>
Mon, 3 Jun 2002 03:55:35 +0000 (20:55 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 3 Jun 2002 03:55:35 +0000 (20:55 -0700)
commit8d5051dbea50e6c9a718e0930fd2adf50b54d657
treef4ddd1ba284f27dc71532cf517bffeafb30b31fe
parent810ccd09042d035f370ee0c8b94eba9de66ec272
[PATCH] trivial misc. scheduler cleanups

Resend of trivial bits from my scheduler tree...:

        - shift cpu by 1UL not 1 to match type
        - clarify various comments
        - remove the barrier from preempt_schedule.  This was here
          because I used to check need_resched before returning from
          preempt_schedule but we do not now (although should).  The
          barrier insured need_resched and preempt_count were in sync
          now and after an interrupt that could occur.
kernel/sched.c