diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-07-23 23:15:07 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-20 10:12:36 +1000 |
commit | 6c1719942e19936044c4673b18afa26e45a02320 (patch) | |
tree | d235739a709ecf4f36d28ad34b80f8930ef525b1 /arch/powerpc/mm/mmu_context_nohash.c | |
parent | 7d60b02cc7e6d67b498eed9ecb58010f61422325 (diff) | |
download | lwn-6c1719942e19936044c4673b18afa26e45a02320.tar.gz lwn-6c1719942e19936044c4673b18afa26e45a02320.zip |
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/mm/mmu_context_nohash.c')
0 files changed, 0 insertions, 0 deletions