powerpc: Streamline ret_from_except_lite for non-iSeries platforms
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 16 Jul 2008 04:21:34 +0000 (14:21 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 20 Aug 2008 06:34:57 +0000 (16:34 +1000)
commit01f3880dd8a7fa78c419da2db740cba511ca7798
tree6a1e6ab37fa42ae1847f2ff44f26270dc6848c7c
parentcd5aeb9f6cf7ada6baa218e01b4299e201497cde
powerpc: Streamline ret_from_except_lite for non-iSeries platforms

There is a small passage of code in ret_from_except_lite which is
only required on iSeries.  For a multi-platform kernel on non-iSeries
machines this means we end up executing ~15 nops in ret_from_except_lite.

It would be nicer if non-iSeries could skip the code entirely, and on
iSeries we can jump out of line to execute the code.

I have no performance numbers to justify this, other than the assertion
that executing 15 nops takes longer than executing 0.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/entry_64.S