]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Don't emulate mr. instructions
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>
Fri, 6 Feb 2009 02:02:00 +0000 (02:02 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Feb 2009 03:39:07 +0000 (14:39 +1100)
commit12f37df7b6036743fada8d234062d3a67fe6dfcb
tree53bc8eba3f2a23911430f9319ddc8609c6c8472d
parentaf9f29a60e896e2b65e9db59a6cc12f8b843d8c2
powerpc: Don't emulate mr. instructions

Currently emulate_step() emulates mr. instructions without updating cr0
and this can be disastrous. Don't emulate mr.

This bug has been around for a while, but I am not sure if its a worthy
-stable candidate. I'll leave it to Ben do decide.

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/lib/sstep.c