aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/cputhreads.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-07-23 23:15:07 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-08-20 10:12:36 +1000
commit6c1719942e19936044c4673b18afa26e45a02320 (patch)
treed235739a709ecf4f36d28ad34b80f8930ef525b1 /arch/powerpc/include/asm/cputhreads.h
parent7d60b02cc7e6d67b498eed9ecb58010f61422325 (diff)
powerpc/of: Remove useless register save/restore when calling OF back
enter_prom() used to save and restore registers such as CTR, XER etc.. which are volatile, or SRR0,1... which we don't care about. This removes a bunch of useless code and while at it turns an mtmsrd into an MTMSRD macro which will be useful to Book3E. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/cputhreads.h')
0 files changed, 0 insertions, 0 deletions