]> Git Repo - linux.git/commit
powerpc: No need to save XER in a system call
authorAnton Blanchard <[email protected]>
Wed, 4 Apr 2012 18:24:29 +0000 (18:24 +0000)
committerBenjamin Herrenschmidt <[email protected]>
Mon, 30 Apr 2012 05:34:44 +0000 (15:34 +1000)
commit823df43552da39fd48a2dd74949363a1c8cf62bb
tree6528a931fade61d09a5a83951906cb6dcbaf33f9
parentd14299dec74a094b0f26b0893eccf8aefdfbd007
powerpc: No need to save XER in a system call

The XER is a volatile register so there is no need to save and restore
it over a system call - zero it out in the exception stack frame
instead.

This should fix a 5 cycle stall of the mfxer/std seen on POWER7.

Signed-off-by: Anton Blanchard <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
arch/powerpc/kernel/entry_64.S
This page took 0.062426 seconds and 4 git commands to generate.