]> git.hungrycats.org Git - linux/commit
[PATCH] ppc32: arch code preempt fixes
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 25 Mar 2004 14:07:08 +0000 (06:07 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 25 Mar 2004 14:07:08 +0000 (06:07 -0800)
commit62e160b5b2716b92068eb9ecd9ad2c3538b449aa
tree30b5586ed24c51b90c9e89c91f116fbe54d7e572
parent01472f19bb7fe25bf932ff286d1298e15d3c7093
[PATCH] ppc32: arch code preempt fixes

I figured the best way to stop beeing bothered by users trying to run
preempt was to fix it ;)

Here's a first batch that close some races we had when testing regs->msr
for altivec or FPU enable, then doing the giveup_* function.  A preempt
in between those would have caused us to save a stale altivec or FPU
context.
arch/ppc/kernel/process.c
arch/ppc/kernel/traps.c