commit | 6c1719942e19936044c4673b18afa26e45a02320 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Jul 23 23:15:07 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Aug 20 10:12:36 2009 +1000 |
tree | d235739a709ecf4f36d28ad34b80f8930ef525b1 | |
parent | 7d60b02cc7e6d67b498eed9ecb58010f61422325 [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>