[PATCH] 2.5: preempt on UP critical fix
authorRobert Love <rml@tech9.net>
Tue, 5 Mar 2002 06:59:06 +0000 (22:59 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Tue, 5 Mar 2002 06:59:06 +0000 (22:59 -0800)
commite868c06380759c17eeda14ed1927a98e837553b3
tree333723ca6d73462cbe8605cec4529010a991a960
parentf60852d2d272bf0c3339f78b04b927b854233ebc
[PATCH] 2.5: preempt on UP critical fix

During 2.5.5-pre schedule_tail was optimized away under UP.  We need it
for preempt-kernel, too, since it decrements the preempt_count to 0
coming off do_fork.

Without this patch, CONFIG_PREEMPT + !CONFIG_SMP does not gain one very
much.

Robert Love
arch/alpha/kernel/entry.S
arch/i386/kernel/entry.S
arch/ppc/kernel/entry.S
arch/ppc64/kernel/entry.S
arch/s390/kernel/entry.S
arch/s390x/kernel/entry.S
kernel/sched.c